No description
Find a file
2012-09-27 16:12:55 +02:00
src/multiselectfield Add south support 2012-09-27 16:12:55 +02:00
.gitignore Initial commit 2012-09-27 05:08:07 -07:00
CHANGES.rst Initial version 2012-09-27 16:02:41 +02:00
MANIFEST.in Initial version 2012-09-27 16:02:41 +02:00
README.rst Add the readme 2012-09-27 16:03:17 +02:00
setup.py Initial version 2012-09-27 16:02:41 +02:00

django-multiselectfield
=======================

A new model and form field. With this you can get a multiple select from a choices

This egg is done from a `snippet <http://djangosnippets.org/snippets/1200/>`_

Installation
============

In your settings.py
-------------------

::

    INSTALLED_APPS = (
        'django.contrib.auth',
        'django.contrib.contenttypes',
        'django.contrib.sessions',
        'django.contrib.sites',
        'django.contrib.admin',

        #.....................#

        'multiselectfield',
    )


In your models.py
-----------------

::

    from multiselectfield import MultiSelectField

    ...

    class MyModel(models.Model):

        .....

        my_field = MultiSelectField(verbose_name=_('xxx'), choices=MY_CHOICES)


Development
===========

You can get the last bleeding edge version of django-configfield by doing a clone
of its hg repository::

  git clone https://github.com/goinnn/django-multiselectfield