From d10cf30456669cc841d79221f2f74f8385530dfd Mon Sep 17 00:00:00 2001 From: ks129 <45097959+ks129@users.noreply.github.com> Date: Mon, 30 Nov 2020 19:26:17 +0200 Subject: Add allowed question types constant --- backend/constants.py | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'backend/constants.py') 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", +] -- cgit v1.2.3