Go to file
2012-09-28 09:46:10 +02:00
src/multiselectfield The snippet had a error. A function call to other function with less 2012-09-27 17:57:02 +02:00
.gitignore Initial commit 2012-09-27 05:08:07 -07:00
CHANGES.rst Update the CHANGES.rst with the date of today 2012-09-28 09:46:10 +02:00
MANIFEST.in Update the manifest 2012-09-27 16:20:57 +02:00
README.rst Add the readme 2012-09-27 16:03:17 +02:00
setup.py The snippet had a error. A function call to other function with less 2012-09-27 17:57:02 +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