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:
parent
26fca4ffcc
commit
a4a08075d4
@ -93,13 +93,11 @@ MEDIA_URL = ''
|
||||
# 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")
|
||||
#STATIC_ROOT = "/srv/nsupdate.info/htdocs/static"
|
||||
|
||||
# Additional locations of static files
|
||||
STATICFILES_DIRS = (
|
||||
|
Loading…
x
Reference in New Issue
Block a user