X-Git-Url: https://git.mdrn.pl/edumed.git/blobdiff_plain/9aa27ca03c702f258e0da7438dab4fe4db38befc..8f939c57adbcfa3bb6f2ab9625881495140c4501:/wtem/forms.py diff --git a/wtem/forms.py b/wtem/forms.py index 21e2cf2..fcce303 100644 --- a/wtem/forms.py +++ b/wtem/forms.py @@ -25,7 +25,7 @@ class WTEMForm(forms.ModelForm): try: attachment = Attachment.objects.get(submission = submission, exercise_id = exercise_id) except Attachment.DoesNotExist: - attachment = Attachment(fsubmission = submission, exercise_id = exercise_id) + attachment = Attachment(submission = submission, exercise_id = exercise_id) attachment.file = file attachment.save()