set blank=True on Article.redirect_to

This commit is contained in:
Jeremy Carbaugh 2012-01-05 10:46:32 -05:00
parent 0864edd921
commit 9160ed2fd9

View File

@ -36,7 +36,7 @@ class Article(models.Model):
title = models.CharField(max_length=200)
creator = models.ForeignKey(User, related_name='wiki_articles', blank=True, null=True)
status = models.IntegerField(choices=ARTICLE_STATUSES, default=PUBLIC)
redirect_to = models.ForeignKey('self', null=True)
redirect_to = models.ForeignKey('self', blank=True, null=True)
def __unicode__(self):
return self.title