From a87786b8abce90bf32e1950b7fe2ea41ccf52ad5 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Aleksander=20=C5=81ukasz?= Date: Fri, 8 Nov 2013 15:22:47 +0100 Subject: [PATCH 1/1] fix --- wtem/forms.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() -- 2.20.1