.
This commit is contained in:
+1
-1
@@ -145,7 +145,7 @@ class ExamViews(View, LoginRequiredMixin):
|
|||||||
self.question_type = question_type
|
self.question_type = question_type
|
||||||
self.loadJsonAnswer = loadJsonAnswer
|
self.loadJsonAnswer = loadJsonAnswer
|
||||||
|
|
||||||
def check_user_access(user):
|
def check_user_access(self, user):
|
||||||
"""Check if a user should be able to access a view
|
"""Check if a user should be able to access a view
|
||||||
|
|
||||||
Args:
|
Args:
|
||||||
|
|||||||
Reference in New Issue
Block a user