Define static target directory
This commit is contained in:
parent
e2c826ec1d
commit
26e7f12141
1 changed files with 4 additions and 0 deletions
|
|
@ -143,6 +143,10 @@ STATICFILES_DIRS = [
|
||||||
os.path.join(BASE_DIR, 'photo21/static'),
|
os.path.join(BASE_DIR, 'photo21/static'),
|
||||||
]
|
]
|
||||||
|
|
||||||
|
# Collect statics to /static/
|
||||||
|
# THIS FOLDER SOULD NOT BE IN GIT TREE!!!
|
||||||
|
STATIC_ROOT = os.path.join(BASE_DIR, "static/")
|
||||||
|
|
||||||
# Use /media/ for user uploaded media
|
# Use /media/ for user uploaded media
|
||||||
MEDIA_ROOT = os.path.join(BASE_DIR, "media")
|
MEDIA_ROOT = os.path.join(BASE_DIR, "media")
|
||||||
MEDIA_URL = '/media/'
|
MEDIA_URL = '/media/'
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue