mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-08-26 12:46:08 +00:00
Don't use os.path.join() to concatenate URL parts
This could lead to "\" being used on Windows. Although, we won't be supporting Windows, this is a conceptual problem.
This commit is contained in:
parent
418f5ff397
commit
b77c97e088
@ -186,7 +186,7 @@ def configure_django():
|
|||||||
ROOT_URLCONF='urls',
|
ROOT_URLCONF='urls',
|
||||||
SESSION_ENGINE='django.contrib.sessions.backends.file',
|
SESSION_ENGINE='django.contrib.sessions.backends.file',
|
||||||
SESSION_FILE_PATH=sessions_directory,
|
SESSION_FILE_PATH=sessions_directory,
|
||||||
STATIC_URL=os.path.join(cfg.server_dir, 'static/'),
|
STATIC_URL=cfg.server_dir + '/static/',
|
||||||
TEMPLATE_CONTEXT_PROCESSORS=context_processors,
|
TEMPLATE_CONTEXT_PROCESSORS=context_processors,
|
||||||
TEMPLATE_DIRS=template_directories)
|
TEMPLATE_DIRS=template_directories)
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user