Add hidden boards

Hidden boards are excluded from the board listing.

Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
This commit is contained in:
2022-07-20 00:43:22 -07:00
parent d5cfe81978
commit 8c6c05b264
2 changed files with 3 additions and 1 deletions

View File

@@ -63,6 +63,8 @@ class Board(models.Model):
autosink = models.IntegerField(default=300)
# Whether this board is read-only or not.
readonly = models.BooleanField(default=False)
# Whether this board appears in the board listing or not
hidden = models.BooleanField(default=False)
@property
def threads(self):