summaryrefslogtreecommitdiff
path: root/allotter/models.py
diff options
context:
space:
mode:
authorPrimal Pappachan2012-03-09 10:07:50 +0530
committerPrimal Pappachan2012-03-09 10:07:50 +0530
commitb8fdd84069b9042694861012945f7783e9e6dfc6 (patch)
tree6dcbe4eb9fc2bef4a02330ea8ad846fdfcf8eb1d /allotter/models.py
parent3d50b6928d1b47b500bbeb28207cd43f6d9225ba (diff)
downloadaloha-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.py8
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"