improve exam group management
This commit is contained in:
@@ -46,6 +46,7 @@ from generic.views import (
|
||||
ExamCloneMixin,
|
||||
ExamCreateBase,
|
||||
ExamDeleteBase,
|
||||
ExamGroupsUpdateBase,
|
||||
ExamUpdateBase,
|
||||
ExamViews,
|
||||
GenericViewBase,
|
||||
@@ -61,6 +62,7 @@ from .tables import QuestionTable, UserAnswerTable
|
||||
from .filters import QuestionFilter, UserAnswerFilter
|
||||
|
||||
from .forms import (
|
||||
ExamGroupsForm,
|
||||
ExamMarkerForm,
|
||||
QuestionForm,
|
||||
ExamForm,
|
||||
@@ -438,6 +440,10 @@ class ExamMarkersUpdate(
|
||||
|
||||
template_name = "markers_form.html"
|
||||
|
||||
class ExamGroupsUpdate(ExamGroupsUpdateBase):
|
||||
model = Exam
|
||||
form_class = ExamGroupsForm
|
||||
|
||||
class ExamClone(ExamCloneMixin, ExamCreate):
|
||||
"""Clone exam view"""
|
||||
|
||||
|
||||
Reference in New Issue
Block a user