diff options
author | Alexander Sulfrian <alex@spline.inf.fu-berlin.de> | 2013-09-04 16:50:57 +0000 |
---|---|---|
committer | pad <pad@vm-pad-b.spline.inf.fu-berlin.de> | 2013-09-04 16:50:57 +0000 |
commit | ad860b6d2cfc2e0a9cb68827d02f96bceaa7a1fe (patch) | |
tree | 211c644840e19b3494ea38c7c7dc04416eba1262 /models.py | |
parent | 41db24278753554b0f1ccab187e5cb8af8bff6df (diff) | |
download | padlite-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.py | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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 |