Improvements in the default value

This commit is contained in:
Pablo Martín 2013-11-30 19:25:58 +01:00
parent 075950197a
commit 17bad27260
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ class Book(models.Model):
title = models.CharField(max_length=200)
categories = MultiSelectField(choices=CATEGORY_CHOICES,
max_choices=3,
#default='1,5',
#default='1,5')
default=1)
tags = MultiSelectField(choices=TAGS_CHOICES,
null=True, blank=True)