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.2 (2012-09-28)
Fix a error, the snippet had a error.
0.0.1 (2012-09-27)
Initial version from the next snippet
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file django-multiselectfield-0.0.2.tar.gz
.
File metadata
- Download URL: django-multiselectfield-0.0.2.tar.gz
- Upload date:
- Size: 3.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fa5297644a6ee628b4707412c488b1b83ed534f76aa1cc1d8c9247b83010ba75 |
|
MD5 | 4d08e78ae3238f520014c8ee7b15cf85 |
|
BLAKE2b-256 | 701a648641aa57de41b3f9bf7190081784e63b3fbe1a677be33755788d36248f |