Add static files directory location

master
Gergely Polonkai 9 years ago
parent 63b3c77f3f
commit 5e08661895

2
.gitignore vendored

@ -1,3 +1,5 @@
!/static/.gitkeep
/static/*
secret.key
*.pyc
*.sw?

@ -65,7 +65,7 @@ MEDIA_URL = ''
# 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 = ''
STATIC_ROOT = SITE_ROOT + os.path.sep + '..' + os.path.sep + 'static'
# URL prefix for static files.
# Example: "http://example.com/static/", "http://static.example.com/"

Loading…
Cancel
Save