Ticket #6967: 6967-r8772-tests.diff

File 6967-r8772-tests.diff, 604 bytes (added by Matt McClanahan, 16 years ago)

New failing test

  • tests/modeltests/model_forms/models.py

     
    5555    writer = models.ForeignKey(Writer)
    5656    article = models.TextField()
    5757    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)
    5959
    6060    def save(self):
    6161        import datetime
Back to Top