dynamicweb/settings: base, using PROJECT_ROOT instead of BASE_DIR
Signed-off-by: rscnt <rascnt@gmail.com>
This commit is contained in:
parent
7aa5586ed3
commit
e863a8c037
1 changed files with 3 additions and 3 deletions
|
@ -268,15 +268,15 @@ if LOGIN_REDIRECT_URL is None:
|
||||||
|
|
||||||
STATIC_URL = '/static/'
|
STATIC_URL = '/static/'
|
||||||
|
|
||||||
STATIC_ROOT = os.path.join(BASE_DIR, 'static')
|
STATIC_ROOT = os.path.join(PROJECT_DIR, 'static')
|
||||||
|
|
||||||
MEDIA_ROOT = os.path.join(BASE_DIR, 'media')
|
MEDIA_ROOT = os.path.join(PROJECT_DIR, 'media')
|
||||||
MEDIA_URL = APP_ROOT_ENDPOINT + 'media/'
|
MEDIA_URL = APP_ROOT_ENDPOINT + 'media/'
|
||||||
FILE_UPLOAD_PERMISSIONS = 0o644
|
FILE_UPLOAD_PERMISSIONS = 0o644
|
||||||
|
|
||||||
# Templates confs
|
# Templates confs
|
||||||
TEMPLATE_DIRS = (
|
TEMPLATE_DIRS = (
|
||||||
os.path.join(BASE_DIR, "templates"),
|
os.path.join(PROJECT_DIR, "templates"),
|
||||||
)
|
)
|
||||||
|
|
||||||
META_SITE_PROTOCOL = 'http'
|
META_SITE_PROTOCOL = 'http'
|
||||||
|
|
Loading…
Reference in a new issue