From dd22e1ca8359f14e4c7abbf0fec8f4a3423b2c82 Mon Sep 17 00:00:00 2001 From: Piotr Kopycki Date: Sun, 15 May 2022 17:27:36 +0200 Subject: [PATCH] hotfix --- templates/questionnaire.html | 10 ++++++++++ trials/urls.py | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 templates/questionnaire.html diff --git a/templates/questionnaire.html b/templates/questionnaire.html new file mode 100644 index 0000000..de155ea --- /dev/null +++ b/templates/questionnaire.html @@ -0,0 +1,10 @@ + + + + + Title + + + + + \ No newline at end of file diff --git a/trials/urls.py b/trials/urls.py index c563442..c689e6f 100644 --- a/trials/urls.py +++ b/trials/urls.py @@ -1,7 +1,7 @@ from django.urls import path from rest_framework.routers import DefaultRouter -from trials.views import TestModelViewSet, TestTemplateView, TestValidateAPIView, TestResultView, rateTest, addTest, addTest2, addQuestions, myTests, solvedTests, solvedTestsDetailed, EditTestTemplateView, deleteTest, AddQuestionToExistingTest, RemoveQuestionFromExistingTest, EditQuestionTemplateView, editName, editVisible, editPassword, TestPasswordTemplateView +from trials.views import TestModelViewSet, TestTemplateView, TestValidateAPIView, TestResultView, rateTest, addTest, addQuestions, myTests, solvedTests, solvedTestsDetailed, EditTestTemplateView, deleteTest, AddQuestionToExistingTest, RemoveQuestionFromExistingTest, EditQuestionTemplateView, editName, editVisible, editPassword, TestPasswordTemplateView router = DefaultRouter(trailing_slash=False) router.register("items", TestModelViewSet)