From 4c2b98614fd343fd187695b19085072bee601000 Mon Sep 17 00:00:00 2001 From: Sanj Date: Sat, 17 Sep 2011 21:29:09 +0530 Subject: [PATCH] minor, forgot max_length --- trubox/deals/models.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/trubox/deals/models.py b/trubox/deals/models.py index 6b5bb04..9bb057b 100644 --- a/trubox/deals/models.py +++ b/trubox/deals/models.py @@ -21,11 +21,12 @@ TIMELINE_CHOICES = ( ('1month', '1 month'), ) + class UserGroup(models.Model): user = models.ForeignKey(User) product = models.ForeignKey(ProductGroup) is_confirmed = models.BooleanField(default=False) - timeline_of_purchase = models.CharField(choices=TIMELINE_CHOICES) + timeline_of_purchase = models.CharField(choices=TIMELINE_CHOICES, max_length=64)