aboutsummaryrefslogtreecommitdiffstats
path: root/client/models.py
diff options
context:
space:
mode:
authorAndrea Lepori <alepori@student.ethz.ch>2020-10-30 20:47:10 +0100
committerAndrea Lepori <alepori@student.ethz.ch>2020-10-30 20:47:10 +0100
commit80653d69a0dd7bb6a089b6fda05fbe98ff7ac9fb (patch)
tree2cd0d469857713b59a0c92271aee0b349aaa5b65 /client/models.py
parentremove default hide error fields (diff)
downloadscout-subs-80653d69a0dd7bb6a089b6fda05fbe98ff7ac9fb.tar.gz
scout-subs-80653d69a0dd7bb6a089b6fda05fbe98ff7ac9fb.zip
renaming, max partecipant number, only "capi" docs
Diffstat (limited to '')
-rw-r--r--client/models.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/client/models.py b/client/models.py
index c85ca14..d14a267 100644
--- a/client/models.py
+++ b/client/models.py
@@ -16,6 +16,8 @@ class DocumentType(models.Model):
custom_data = models.BooleanField(default=False)
custom_message = models.BooleanField(default=False)
custom_message_text = models.CharField(default="", max_length=250)
+ staff_only = models.BooleanField(default=False)
+ max_instances = models.IntegerField(default=0)
name = models.CharField(default="", max_length=250)