Revert "Revert "added "New topics by moderators only" option for forums""
This reverts commit 1208adad4b
.
This commit is contained in:
parent
1208adad4b
commit
71b839d70c
3 changed files with 4 additions and 2 deletions
|
@ -97,6 +97,7 @@ class Category(models.Model):
|
|||
|
||||
class Forum(models.Model):
|
||||
category = models.ForeignKey(Category, related_name='forums', verbose_name=_('Category'))
|
||||
moderator_only = models.BooleanField(_('New topics by moderators only'), default=False)
|
||||
name = models.CharField(_('Name'), max_length=80)
|
||||
position = models.IntegerField(_('Position'), blank=True, default=0)
|
||||
description = models.TextField(_('Description'), blank=True, default='')
|
||||
|
|
Reference in a new issue