fnp
/
edumed.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
question update
[edumed.git]
/
wtem
/
models.py
diff --git
a/wtem/models.py
b/wtem/models.py
index
4c91392
..
bef8b7c
100644
(file)
--- 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')