remove misleading default of STATIC_ROOT

it is the destination directory of manage.py collectstatic action, NOT our main app's static dir
This commit is contained in:
Thomas Waldmann 2013-11-08 04:11:14 +01:00
parent 26fca4ffcc
commit a4a08075d4

View File

@ -93,13 +93,11 @@ MEDIA_URL = ''
# Example: "http://example.com/static/", "http://static.example.com/" # Example: "http://example.com/static/", "http://static.example.com/"
STATIC_URL = '/static/' STATIC_URL = '/static/'
BASE_DIR = os.path.dirname(os.path.abspath(__file__))
# Absolute path to the directory static files should be collected to. # Absolute path to the directory static files should be collected to.
# Don't put anything in this directory yourself; store your static files # Don't put anything in this directory yourself; store your static files
# in apps' "static/" subdirectories and in STATICFILES_DIRS. # in apps' "static/" subdirectories and in STATICFILES_DIRS.
# Example: "/var/www/example.com/static/" # Example: "/var/www/example.com/static/"
STATIC_ROOT = os.path.join(BASE_DIR, "static") #STATIC_ROOT = "/srv/nsupdate.info/htdocs/static"
# Additional locations of static files # Additional locations of static files
STATICFILES_DIRS = ( STATICFILES_DIRS = (