.
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
from django.core.exceptions import PermissionDenied
|
from django.core.exceptions import PermissionDenied
|
||||||
from .models import Exam
|
from .models import ExamBase
|
||||||
|
|
||||||
def user_is_exam_author_or_exam_checker(function):
|
def user_is_exam_author_or_exam_checker(function):
|
||||||
def wrap(request, *args, **kwargs):
|
def wrap(request, *args, **kwargs):
|
||||||
|
|||||||
Reference in New Issue
Block a user