add featured field to Article. Db Change.
This commit is contained in:
parent
459ce97f7d
commit
4e1085e38b
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue
Block a user