diff options
author | Primal Pappachan | 2012-03-09 10:07:50 +0530 |
---|---|---|
committer | Primal Pappachan | 2012-03-09 10:07:50 +0530 |
commit | b8fdd84069b9042694861012945f7783e9e6dfc6 (patch) | |
tree | 6dcbe4eb9fc2bef4a02330ea8ad846fdfcf8eb1d /allotter/models.py | |
parent | 3d50b6928d1b47b500bbeb28207cd43f6d9225ba (diff) | |
download | aloha-b8fdd84069b9042694861012945f7783e9e6dfc6.tar.gz aloha-b8fdd84069b9042694861012945f7783e9e6dfc6.tar.bz2 aloha-b8fdd84069b9042694861012945f7783e9e6dfc6.zip |
DEFAULT Exam removed from Options
Diffstat (limited to 'allotter/models.py')
-rw-r--r-- | allotter/models.py | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/allotter/models.py b/allotter/models.py index 773d9d1..5b35771 100644 --- a/allotter/models.py +++ b/allotter/models.py @@ -19,11 +19,13 @@ CATEGORIES = ( AVAILABLE_OPTIONS = ( ("MScChem", "M.Sc Chemisty"), ("MScPhy", "M.Sc Physics"), - ("MScMath","M.Sc Mathematics")) + ("MScMath","M.Sc Mathematics"), + ("MscHist", "M.Sc History"), +) GENDER_CHOICES = ( ("M", "Male"), - ("F", "Female")) + ("F", "Female"),) APPLICATION_STATUS = ( ("I", "Incomplete"), @@ -58,7 +60,7 @@ class Option(models.Model): seats = models.IntegerField(verbose_name=u"Seats available") - exam = models.ManyToManyField(Exam, default=DEFAULT_EXAM_ID) + exam = models.ManyToManyField(Exam) class Meta: verbose_name_plural = "Options" |