minor, forgot max_length
This commit is contained in:
parent
fc503cccf5
commit
4c2b98614f
|
@ -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)
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user