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.

Source Distribution

django-multiselectfield-0.0.1.tar.gz (3.1 kB view details)

Uploaded Source

File details

Details for the file django-multiselectfield-0.0.1.tar.gz.

File metadata

File hashes

Hashes for django-multiselectfield-0.0.1.tar.gz
Algorithm Hash digest
SHA256 b33a5a5b1383cb486f53c4ff1415ba2870ddb163a2c9dec44ecfdd193044da48
MD5 9ea690d12a6ca1ae63798d45ca9d8209
BLAKE2b-256 c6fae9c81ef31c675b8f9fba2cedc470f67b5210b339bbdc2a89e65d09e148ea

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page