.
This commit is contained in:
+7
-2
@@ -2,7 +2,7 @@ from django.urls import path, include
|
||||
|
||||
from generic.models import Examination
|
||||
from . import views
|
||||
from generic.views import ExamViews as GenericExamViews
|
||||
from generic.views import ExamViews as GenericExamViews, GenericViewBase
|
||||
|
||||
|
||||
app_name = "generic"
|
||||
@@ -147,7 +147,7 @@ urlpatterns = [
|
||||
]
|
||||
|
||||
|
||||
def generic_view_urls(generic_views):
|
||||
def generic_view_urls(generic_views: GenericViewBase):
|
||||
urlpatterns = [
|
||||
path(
|
||||
"user_answers/delete",
|
||||
@@ -164,6 +164,11 @@ def generic_view_urls(generic_views):
|
||||
generic_views.question_user_answers,
|
||||
name="question_user_answers",
|
||||
),
|
||||
path(
|
||||
"question/<int:pk>/user_answers/<str:answer_compare>/str",
|
||||
generic_views.question_user_answers_by_compare,
|
||||
name="question_user_answers_by_compare",
|
||||
),
|
||||
path(
|
||||
"exam/<int:pk>/review",
|
||||
generic_views.question_review,
|
||||
|
||||
Reference in New Issue
Block a user