From 2af6d82058e4fa67f83ebf7113b3dc59eb4b3f65 Mon Sep 17 00:00:00 2001 From: Sebastian Lohff Date: Tue, 11 Apr 2017 01:09:49 +0200 Subject: [PATCH] Make paths in settings.py "relative" --- dnmapper/settings.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dnmapper/settings.py b/dnmapper/settings.py index fa8ef5c..66023e5 100644 --- a/dnmapper/settings.py +++ b/dnmapper/settings.py @@ -83,7 +83,7 @@ USE_L10N = True USE_TZ = True TEMPLATE_DIRS = ( - 'templates/', + os.path.join(BASE_DIR, 'templates/'), ) @@ -91,3 +91,4 @@ TEMPLATE_DIRS = ( # https://docs.djangoproject.com/en/1.7/howto/static-files/ STATIC_URL = '/static/' +STATIC_ROOT = os.path.join(BASE_DIR, 'static/')