diff options
author | 2021-06-02 04:03:17 +0300 | |
---|---|---|
committer | 2021-06-02 04:05:13 +0300 | |
commit | cf2b8d3babf29552e5eeb1ab535506408e18a3e5 (patch) | |
tree | 7607dd65784559d5af2faa490e7c8e32e0c982c7 /backend/models/__init__.py | |
parent | Set Form Viewing URL (diff) |
Adds Code Question Model
Adds an explicit model for questions of type `code`, to allow more
complex parsing. Updates schema docs.
Signed-off-by: Hassan Abouelela <[email protected]>
Diffstat (limited to 'backend/models/__init__.py')
-rw-r--r-- | backend/models/__init__.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/backend/models/__init__.py b/backend/models/__init__.py index 29ccb24..8ad7f7f 100644 --- a/backend/models/__init__.py +++ b/backend/models/__init__.py @@ -2,13 +2,14 @@ from .antispam import AntiSpam from .discord_user import DiscordUser from .form import Form, FormList from .form_response import FormResponse, ResponseList -from .question import Question +from .question import CodeQuestion, Question __all__ = [ "AntiSpam", "DiscordUser", "Form", "FormResponse", + "CodeQuestion", "Question", "FormList", "ResponseList" |