sdi/models.py
branchanoop
changeset 213 ffe5ef840fde
parent 174 d979d1bc1c4e
child 233 c5df028e4438
--- a/sdi/models.py	Fri Aug 06 14:22:10 2010 +0530
+++ b/sdi/models.py	Fri Aug 06 14:22:50 2010 +0530
@@ -55,11 +55,15 @@
                            ("1", "Has requested for a workshop"),
                            ("0", "Does not need a workshop"))
 
-ACCO_CHOICES = (("4", "Has requested but request has been rejected"),
-                ("3", "Has been given accomodation"),
+ACCO_CHOICES = (("3", "Has requested but request has been rejected"),
+                ("2", "Has been given accomodation"),
                 ("1", "Has requested for accomodation"),
                 ("0", "Does not need acco"))
 
+ACCO_LOCATION_CHOICES = (("2", "NITIE"),
+                         ("1", "IITB Guest house"),
+                         ("0", "IITB Hostel"))
+
 class Registrant(models.Model):
     """ A model to hold the details of registered users.
     """
@@ -111,4 +115,4 @@
     status_of_attending_workshop = models.CharField(max_length=1, default="0", choices=WORKSHOP_ATTEND_CHOICES)
     status_of_accomodation = models.CharField(max_length=1, default="0", choices=ACCO_CHOICES)
     has_laptop_for_workshop = models.BooleanField(default=False)
-    
+    acco_location = models.CharField(max_length=1, choices=ACCO_LOCATION_CHOICES, null=True)