.
This commit is contained in:
+2
-1
@@ -12,7 +12,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
|
||||
|
||||
@@ -154,6 +154,7 @@ class Exam(ExamBase):
|
||||
help_text='Author of exam',
|
||||
related_name="physics_exam_author")
|
||||
|
||||
valid_users = models.ManyToManyField(CidUser, blank=True, related_name="physics_exams")
|
||||
|
||||
|
||||
@reversion.register
|
||||
|
||||
Reference in New Issue
Block a user