# HG changeset patch # User nishanth # Date 1282898344 -19800 # Node ID c5df028e44385304b25659a32824762526b31bf9 # Parent 1bfac108ed6c5bd52185065cd996c0662b749022 created another table to hold incentive info diff -r 1bfac108ed6c -r c5df028e4438 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) + +