This commit is contained in:
Ross
2021-04-22 13:03:24 +01:00
parent b7d32e6589
commit c1bbd13312
3 changed files with 29 additions and 1 deletions
+3
View File
@@ -23,6 +23,8 @@ from .forms import (
ExaminationForm,
)
from .decorators import user_is_exam_author_or_exam_checker
from .models import Examination
from rapids.models import Rapid as RapidQuestion
@@ -202,6 +204,7 @@ class ExamViews(View, LoginRequiredMixin):
@method_decorator(login_required)
@method_decorator(user_is_exam_author_or_exam_checker)
def exam_overview(self, request, pk):
#print(Exam.objects.all())
#exams = Exam.objects.all()