add featured field to Article. Db Change.

This commit is contained in:
Sanj 2011-07-10 06:49:23 +05:30
parent 459ce97f7d
commit 4e1085e38b

View File

@ -201,6 +201,7 @@ class Article(models.Model):
created = models.DateTimeField(auto_now_add=True, null=True)
locked = models.BooleanField(default=False)
published = models.BooleanField(default=False)
featured = models.BooleanField(default=False)
users = models.ManyToManyField(User, related_name='article_user', blank=True)
groups = models.ManyToManyField(Group, blank=True)
theme = models.ForeignKey(ArticleTheme, blank=True, null=True)