Add spoiler tags

Boards can have spoiler processors enabled on them now.

Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
This commit is contained in:
2022-07-20 01:18:06 -07:00
parent b299f4f548
commit 83e0a5b84e
4 changed files with 46 additions and 2 deletions

View File

@@ -65,6 +65,8 @@ class Board(models.Model):
readonly = models.BooleanField(default=False)
# Whether this board appears in the board listing or not
hidden = models.BooleanField(default=False)
# Whether to allow users to use spoiler tags on this board
spoilers = models.BooleanField(default=False)
@property
def threads(self):