Skip to main content

Django multiple select field

Project description

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

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

0.0.1 (2012-09-27)

  • Initial version from the next snippet

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for django-multiselectfield, version 0.0.1
Filename, size File type Python version Upload date Hashes
Filename, size django-multiselectfield-0.0.1.tar.gz (3.1 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page