Ticket #6967: 6967-r8772-tests.diff
File 6967-r8772-tests.diff, 604 bytes (added by , 16 years ago) |
---|
-
tests/modeltests/model_forms/models.py
55 55 writer = models.ForeignKey(Writer) 56 56 article = models.TextField() 57 57 categories = models.ManyToManyField(Category, blank=True) 58 status = models. IntegerField(choices=ARTICLE_STATUS, blank=True, null=True)58 status = models.PositiveIntegerField(choices=ARTICLE_STATUS, blank=True, null=True) 59 59 60 60 def save(self): 61 61 import datetime