Add static files directory location

This commit is contained in:
Gergely Polonkai 2014-06-14 20:59:34 +00:00
parent 63b3c77f3f
commit 5e08661895
3 changed files with 3 additions and 1 deletions

2
.gitignore vendored
View File

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

View File

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

0
static/.gitkeep Normal file
View File