From 228cacbd8eda41cdc4179e0e66d7a0bdc04f30fe Mon Sep 17 00:00:00 2001 From: Chris Lovering Date: Sat, 20 Jul 2024 17:48:49 +0100 Subject: Add models & migrations for form questions --- backend/constants.py | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'backend/constants.py') 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, -- cgit v1.2.3