Metadata-Version: 1.1
Name: django-multiselectfield
Version: 0.0.3
Summary: Django multiple select field
Home-page: https://github.com/goinnn/django-multiselectfield
Author: Daniel Roseman and Pablo Martin
Author-email: goinnn@gmail.com
License: LGPL 3
Description: django-multiselectfield
        =======================
        
        .. image:: https://badge.fury.io/py/django-multiselectfield.png
            :target: https://badge.fury.io/py/django-multiselectfield
        
        .. image:: https://pypip.in/d/django-multiselectfield/badge.png
            :target: https://pypi.python.org/pypi/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
        
            ...
        
            MY_CHOICES = (('item_key1', 'Item title1'),
                          ('item_key2', 'Item title2'),
                          ('item_key3', 'Item title3'),
                          ('item_key4', 'Item title4'),
                          ('item_key5', 'Item title5'))
        
            class MyModel(models.Model):
        
                .....
        
                my_field = MultiSelectField(choices=MY_CHOICES, max_length=20)
        
        
        Development
        ===========
        
        You can get the last bleeding edge version of django-configfield by doing a clone
        of its git repository::
        
          git clone https://github.com/goinnn/django-multiselectfield
        
        
        0.0.3 (2013-09-11)
        ------------------
        
        * Python 3 compatible
        * Fix an error, the snippet had another error when the choices were translatables
        * Improvements in the README file
        
        
        0.0.2 (2012-09-28)
        ------------------
        
        * Fix an error, the snippet had an error.
        
        0.0.1 (2012-09-27)
        ------------------
        
        * Initial version from the next `snippet <http://djangosnippets.org/snippets/1200/>`_
Keywords: django,multiple,select,field,choices
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Framework :: Django
Classifier: License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 3
