.
This commit is contained in:
@@ -280,6 +280,7 @@ def generic_view_urls(generic_views: GenericViewBase):
|
||||
generic_views.question_review,
|
||||
name="question_review",
|
||||
),
|
||||
path("help", generic_views.help, name="help"),
|
||||
]
|
||||
|
||||
return urlpatterns
|
||||
|
||||
@@ -2609,6 +2609,9 @@ class GenericViewBase:
|
||||
|
||||
self.checker_group = g[app_name]
|
||||
|
||||
def help(self, request):
|
||||
return render(request, f"{self.app_name}/help.html", {"app_name": self.app_name})
|
||||
|
||||
def question_review(self, request, pk):
|
||||
"""
|
||||
Return a json representation of the question when the exam is published
|
||||
|
||||
Reference in New Issue
Block a user