From 6f1cb6d23b3cea9a455da799f2b71f23cffcd430 Mon Sep 17 00:00:00 2001 From: Alexander Sulfrian Date: Tue, 18 Nov 2014 04:13:16 +0100 Subject: models: add browsable flag for groups It should be possible to distinguish public groups, that could be viewed if you know the name, and browsable groups, that could be enumerated from the home page. --- models.py | 1 + 1 file changed, 1 insertion(+) diff --git a/models.py b/models.py index 9bdd61d..fd33a47 100644 --- a/models.py +++ b/models.py @@ -19,6 +19,7 @@ class Group(db.Model): name = CharField(unique=True) api_id = CharField(null=True) public = BooleanField(default=False) + browsable = BooleanField(default=False) def __unicode__(self): return self.name -- cgit v1.2.3-1-g7c22