X-Git-Url: https://git.mdrn.pl/edumed.git/blobdiff_plain/068d95bd6f8b28031a9e5236dbec460aad44ae7a..0700438cba91d0903d3688533839dae0707165a3:/wtem/models.py?ds=sidebyside diff --git a/wtem/models.py b/wtem/models.py index 4c91392..bef8b7c 100644 --- a/wtem/models.py +++ b/wtem/models.py @@ -66,7 +66,7 @@ class Submission(models.Model): class Attachment(models.Model): submission = models.ForeignKey(Submission) - name = models.CharField(max_length=100) + exercise_id = models.IntegerField() file = models.FileField(upload_to = 'wtem/attachment')