Commit 161db30f819ee2d208768c0f011f3fffcc95f134
1 parent
604b3773
Exists in
master
and in
2 other branches
Modified bulletin upload folder
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
bulletin/models.py
@@ -18,7 +18,7 @@ def validate_file_extension(value): | @@ -18,7 +18,7 @@ def validate_file_extension(value): | ||
18 | 18 | ||
19 | class Bulletin(Resource): | 19 | class Bulletin(Resource): |
20 | content = models.TextField(_('Bulletin Content'), blank = True) | 20 | content = models.TextField(_('Bulletin Content'), blank = True) |
21 | - file_content = models.FileField(_('Bulletin Data (Goals)'), blank = True, upload_to = 'files/', validators = [validate_file_extension]) | 21 | + file_content = models.FileField(_('Bulletin Data (Goals)'), blank = True, upload_to = 'bulletin/', validators = [validate_file_extension]) |
22 | 22 | ||
23 | class Meta: | 23 | class Meta: |
24 | verbose_name = _('Bulletin') | 24 | verbose_name = _('Bulletin') |