From 3112168b7ae19444e55f59cb9ecf6ac9ee36c87a Mon Sep 17 00:00:00 2001 From: Leon Sandøy Date: Wed, 3 Jul 2019 16:58:52 +0200 Subject: Changing the STATIC_ROOT and MEDIA_ROOT to include the root folder created by the Dockerfile --- pydis_site/settings.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pydis_site/settings.py') diff --git a/pydis_site/settings.py b/pydis_site/settings.py index 5cc4dd99..a3241206 100644 --- a/pydis_site/settings.py +++ b/pydis_site/settings.py @@ -173,10 +173,10 @@ USE_TZ = True STATIC_URL = '/static/' STATICFILES_DIRS = [os.path.join(BASE_DIR, 'pydis_site', 'static')] -STATIC_ROOT = env('STATIC_ROOT', default='staticfiles') +STATIC_ROOT = env('STATIC_ROOT', default='/app/staticfiles') MEDIA_URL = '/media/' -MEDIA_ROOT = env('MEDIA_ROOT', default='media') +MEDIA_ROOT = env('MEDIA_ROOT', default='/app/media') STATICFILES_FINDERS = [ 'django.contrib.staticfiles.finders.FileSystemFinder', -- cgit v1.2.3