Improvements in the default value
This commit is contained in:
parent
075950197a
commit
17bad27260
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ class Book(models.Model):
|
||||||
title = models.CharField(max_length=200)
|
title = models.CharField(max_length=200)
|
||||||
categories = MultiSelectField(choices=CATEGORY_CHOICES,
|
categories = MultiSelectField(choices=CATEGORY_CHOICES,
|
||||||
max_choices=3,
|
max_choices=3,
|
||||||
#default='1,5',
|
#default='1,5')
|
||||||
default=1)
|
default=1)
|
||||||
tags = MultiSelectField(choices=TAGS_CHOICES,
|
tags = MultiSelectField(choices=TAGS_CHOICES,
|
||||||
null=True, blank=True)
|
null=True, blank=True)
|
||||||
|
|
Loading…
Reference in a new issue