Commit d7d2e796 authored by Daniel W Bond's avatar Daniel W Bond

installed multiselect model package

parent 57268420
......@@ -12,6 +12,7 @@ django-gravatar2==1.1.4
django-haystack==2.3.1
django-localflavor==1.0
django-model-utils==2.2
django-multiselectfield==0.1.3
django-randomslugfield==0.3.0
flake8==2.4.0
mccabe==0.3
......
......@@ -8,6 +8,7 @@ from django.core.urlresolvers import reverse
from django.utils.text import slugify
# third party imports
from autoslug import AutoSlugField
from multiselectfield import MultiSelectField
from allauth.socialaccount.models import SocialAccount
# imports from your apps
from housing.models import Room, Class
......@@ -116,7 +117,7 @@ class Student(TimeStampedModel):
)
# selectmultiple in forms
gender = models.CharField(max_length=25, choices=GENDER_CHOICES, blank=True)
gender = MultiSelectField(max_length=25, choices=GENDER_CHOICES, blank=True)
privacy = models.CharField(max_length=100, choices=PRIVACY_CHOICES, default=FLOOR)
......
......@@ -76,6 +76,7 @@ INSTALLED_APPS = (
'analytical',
'randomslugfield',
'haystack',
'multiselectfield',
'allauth',
'allauth.account',
'allauth.socialaccount',
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment