diff options
author | 2024-07-20 17:48:49 +0100 | |
---|---|---|
committer | 2024-07-22 21:39:19 +0100 | |
commit | 228cacbd8eda41cdc4179e0e66d7a0bdc04f30fe (patch) | |
tree | ccfbdbc6d1a0dc70a019f3810bb5de84c0f595a1 /backend/constants.py | |
parent | Add models and migration files for admins & forms (diff) |
Add models & migrations for form questions
Diffstat (limited to 'backend/constants.py')
-rw-r--r-- | backend/constants.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/backend/constants.py b/backend/constants.py index eb0c68f..4bb051c 100644 --- a/backend/constants.py +++ b/backend/constants.py @@ -56,6 +56,12 @@ QUESTION_TYPES = [ "vote", ] + +class TextType(Enum): + SHORT_TEXT = "short_text" + TEXT_AREA = "text_area" + + REQUIRED_QUESTION_TYPE_DATA = { "radio": { "options": list, |