From 161db30f819ee2d208768c0f011f3fffcc95f134 Mon Sep 17 00:00:00 2001 From: Gustavo Date: Mon, 31 Jul 2017 22:49:55 -0300 Subject: [PATCH] Modified bulletin upload folder --- bulletin/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bulletin/models.py b/bulletin/models.py index d017f04..f99f07f 100644 --- a/bulletin/models.py +++ b/bulletin/models.py @@ -18,7 +18,7 @@ def validate_file_extension(value): class Bulletin(Resource): content = models.TextField(_('Bulletin Content'), blank = True) - file_content = models.FileField(_('Bulletin Data (Goals)'), blank = True, upload_to = 'files/', validators = [validate_file_extension]) + file_content = models.FileField(_('Bulletin Data (Goals)'), blank = True, upload_to = 'bulletin/', validators = [validate_file_extension]) class Meta: verbose_name = _('Bulletin') -- libgit2 0.21.2