fix vieving feedback
This commit is contained in:
+6
-6
@@ -62,11 +62,11 @@ urlpatterns = [
|
||||
# path("all_questions/", views.all_questions, name="all_questions"),
|
||||
path("question/<int:pk>/scrap", views.long_scrap, name="long_scrap"),
|
||||
path("question/<int:pk>/delete", views.LongDelete.as_view(), name="long_delete"),
|
||||
path(
|
||||
"exam/<int:pk>/review",
|
||||
views.question_review,
|
||||
name="question_review",
|
||||
),
|
||||
# path(
|
||||
# "exam/<int:pk>/review",
|
||||
# views.question_review,
|
||||
# name="question_review",
|
||||
# ),
|
||||
path(
|
||||
"exam/<int:exam_id>/<int:question_number>/<int:answer_id>/mark",
|
||||
views.mark_answer,
|
||||
@@ -157,5 +157,5 @@ urlpatterns = [
|
||||
]
|
||||
|
||||
|
||||
#urlpatterns.extend(generic_view_urls(views.GenericViews))
|
||||
urlpatterns.extend(generic_view_urls(views.GenericViews))
|
||||
urlpatterns.extend(generic_exam_urls(views.GenericExamViews))
|
||||
@@ -85,6 +85,7 @@ from generic.views import (
|
||||
ExamGroupsUpdateBase,
|
||||
ExamUpdateBase,
|
||||
ExamViews,
|
||||
GenericViewBase,
|
||||
RedirectMixin,
|
||||
SeriesImagesZipViewBase,
|
||||
UpdateQuestionMixin,
|
||||
@@ -954,6 +955,7 @@ def long_series_order_upload_filename(request, pk):
|
||||
|
||||
|
||||
GenericExamViews = ExamViews(Exam, Long, None, UserAnswer, "longs", "long")
|
||||
GenericViews = GenericViewBase("longs", Long, UserAnswer, Exam)
|
||||
|
||||
|
||||
class ExamCreate(ExamCreateBase):
|
||||
|
||||
Reference in New Issue
Block a user