diff options
| author | 2020-11-30 19:26:17 +0200 | |
|---|---|---|
| committer | 2020-11-30 19:26:17 +0200 | |
| commit | d10cf30456669cc841d79221f2f74f8385530dfd (patch) | |
| tree | 69fa66b4874f9ed1f123e4f8e2658f774fec27d9 | |
| parent | Move ObjectId to special types directory (diff) | |
Add allowed question types constant
| -rw-r--r-- | backend/constants.py | 11 | 
1 files changed, 11 insertions, 0 deletions
diff --git a/backend/constants.py b/backend/constants.py index 746e277..c7db8e6 100644 --- a/backend/constants.py +++ b/backend/constants.py @@ -15,3 +15,14 @@ OAUTH2_REDIRECT_URI = os.getenv(  )  SECRET_KEY = os.getenv("SECRET_KEY", binascii.hexlify(os.urandom(30)).decode()) + +QUESTION_TYPES = [ +    "radio", +    "checkbox", +    "select", +    "short_text", +    "textarea", +    "code", +    "range", +    "section", +]  |