From 64423caea4a22c3b55a9ed2f97666c7be054e1be Mon Sep 17 00:00:00 2001 From: Thomas Waldmann Date: Sun, 29 Sep 2013 15:25:18 +0200 Subject: [PATCH] fix redeclared STATIC_ROOT --- nsupdate/nsupdate/settings.py | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/nsupdate/nsupdate/settings.py b/nsupdate/nsupdate/settings.py index 9311a10..5b70c22 100644 --- a/nsupdate/nsupdate/settings.py +++ b/nsupdate/nsupdate/settings.py @@ -75,18 +75,16 @@ MEDIA_ROOT = '' # Examples: "http://example.com/media/", "http://media.example.com/" MEDIA_URL = '' -# Absolute path to the directory static files should be collected to. -# Don't put anything in this directory yourself; store your static files -# in apps' "static/" subdirectories and in STATICFILES_DIRS. -# Example: "/var/www/example.com/static/" -STATIC_ROOT = '' - # URL prefix for static files. # Example: "http://example.com/static/", "http://static.example.com/" STATIC_URL = '/static/' BASE_DIR = os.path.dirname(os.path.abspath(__file__)) +# Absolute path to the directory static files should be collected to. +# Don't put anything in this directory yourself; store your static files +# in apps' "static/" subdirectories and in STATICFILES_DIRS. +# Example: "/var/www/example.com/static/" STATIC_ROOT = os.path.join(BASE_DIR, "static") # Additional locations of static files