.
This commit is contained in:
+2
-1
@@ -11,7 +11,7 @@ from django.utils.translation import ugettext_lazy as _
|
||||
|
||||
from sortedm2m.fields import SortedManyToManyField
|
||||
|
||||
from generic.models import ExamBase, QuestionNote
|
||||
from generic.models import CidUser, ExamBase, QuestionNote
|
||||
|
||||
import reversion
|
||||
|
||||
@@ -159,6 +159,7 @@ class Exam(ExamBase):
|
||||
help_text='Author of exam',
|
||||
related_name="sba_exam_author")
|
||||
|
||||
valid_users = models.ManyToManyField(CidUser, blank=True, related_name="sba_exams")
|
||||
|
||||
|
||||
@reversion.register
|
||||
|
||||
Reference in New Issue
Block a user