summaryrefslogtreecommitdiffstats
path: root/models.py
diff options
context:
space:
mode:
authorAlexander Sulfrian <alex@spline.inf.fu-berlin.de>2013-09-04 16:50:57 +0000
committerpad <pad@vm-pad-b.spline.inf.fu-berlin.de>2013-09-04 16:50:57 +0000
commitad860b6d2cfc2e0a9cb68827d02f96bceaa7a1fe (patch)
tree211c644840e19b3494ea38c7c7dc04416eba1262 /models.py
parent41db24278753554b0f1ccab187e5cb8af8bff6df (diff)
downloadpadlite-teams-ad860b6d2cfc2e0a9cb68827d02f96bceaa7a1fe.tar.gz
padlite-teams-ad860b6d2cfc2e0a9cb68827d02f96bceaa7a1fe.tar.bz2
padlite-teams-ad860b6d2cfc2e0a9cb68827d02f96bceaa7a1fe.zip
add public field for groups
Diffstat (limited to 'models.py')
-rw-r--r--models.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/models.py b/models.py
index 51e123a..c6721c1 100644
--- a/models.py
+++ b/models.py
@@ -17,6 +17,7 @@ class User(db.Model):
class Group(db.Model):
name = CharField(unique=True)
api_id = CharField(null=True)
+ public = BooleanField(default=False)
def __unicode__(self):
return self.name