fnp
/
edumed.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
headers about data
[edumed.git]
/
catalogue
/
models.py
diff --git
a/catalogue/models.py
b/catalogue/models.py
index
6d1b97a
..
8ecf7ac
100644
(file)
--- a/
catalogue/models.py
+++ b/
catalogue/models.py
@@
-296,7
+296,7
@@
class Attachment(models.Model):
slug = models.CharField(max_length=255)
ext = models.CharField(max_length=15)
lesson = models.ForeignKey(Lesson)
slug = models.CharField(max_length=255)
ext = models.CharField(max_length=15)
lesson = models.ForeignKey(Lesson)
- file = models.FileField(upload_to="catalogue/attachment", storage=bofh_storage)
+ file = models.FileField(upload_to="catalogue/attachment", storage=bofh_storage
, max_length=255
)
class Meta:
ordering = ['slug', 'ext']
class Meta:
ordering = ['slug', 'ext']