minor, forgot max_length

This commit is contained in:
Sanj 2011-09-17 21:29:09 +05:30
parent fc503cccf5
commit 4c2b98614f

View File

@ -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)