.
This commit is contained in:
@@ -244,6 +244,10 @@ class ExamForm(ModelForm):
|
||||
"author",
|
||||
]
|
||||
|
||||
def __init__(self, *args, **kwargs):
|
||||
ModelForm.__init__(self, *args, **kwargs)
|
||||
super(ExamForm, self).__init__(*args, **kwargs)
|
||||
|
||||
def save(self, commit=True):
|
||||
instance = ModelForm.save(self, False)
|
||||
instance.save()
|
||||
|
||||
Reference in New Issue
Block a user