From 66b9ac805520fe43694227e08c17a22a59fc9e82 Mon Sep 17 00:00:00 2001 From: Zambom Date: Sat, 5 Aug 2017 10:58:30 -0300 Subject: [PATCH] Adding bulletin to static files dirs to make it work on server --- amadeus/settings.py | 4 +++- bulletin/static/xls/future.xls | Bin 0 -> 5632 bytes 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 bulletin/static/xls/future.xls diff --git a/amadeus/settings.py b/amadeus/settings.py index 5e8a0fd..09d8762 100644 --- a/amadeus/settings.py +++ b/amadeus/settings.py @@ -125,6 +125,7 @@ TEMPLATES = [ 'amadeus.context_processors.mural_notifies', 'amadeus.context_processors.chat_notifies', ], + 'debug': True }, }, ] @@ -204,7 +205,8 @@ STATIC_ROOT = os.path.join(PROJECT_ROOT, 'staticfiles') STATICFILES_STORAGE = 'whitenoise.django.GzipManifestStaticFilesStorage' STATICFILES_DIRS = [ - os.path.join(BASE_DIR, "amadeus/static") + os.path.join(BASE_DIR, "amadeus/static"), + os.path.join(BASE_DIR, "bulletin/static") ] CRON_CLASSES = [ diff --git a/bulletin/static/xls/future.xls b/bulletin/static/xls/future.xls new file mode 100644 index 0000000..f370e31 Binary files /dev/null and b/bulletin/static/xls/future.xls differ -- libgit2 0.21.2