created another table to hold incentive info anoop
authornishanth
Fri, 27 Aug 2010 14:09:04 +0530
branchanoop
changeset 233 c5df028e4438
parent 232 1bfac108ed6c
child 234 cf3de6d222ce
created another table to hold incentive info
sdi/models.py
--- a/sdi/models.py	Thu Aug 19 20:06:45 2010 +0530
+++ b/sdi/models.py	Fri Aug 27 14:09:04 2010 +0530
@@ -116,3 +116,11 @@
     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)
+
+class Incentives(models.Model):
+
+    registrant = models.ForeignKey(Registrant)
+    amount = models.IntegerField(default=0)
+    t_shirt = models.BooleanField(default=False)
+    
+