Add static files directory location
This commit is contained in:
parent
63b3c77f3f
commit
5e08661895
2
.gitignore
vendored
2
.gitignore
vendored
@ -1,3 +1,5 @@
|
|||||||
|
!/static/.gitkeep
|
||||||
|
/static/*
|
||||||
secret.key
|
secret.key
|
||||||
*.pyc
|
*.pyc
|
||||||
*.sw?
|
*.sw?
|
||||||
|
@ -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
0
static/.gitkeep
Normal file
Loading…
Reference in New Issue
Block a user