Update web/illustrations/settings.py
This commit is contained in:
parent
6dc6b07f67
commit
40d6c40e4a
@ -69,4 +69,8 @@ LOGOUT_REDIRECT_URL="/login/"
|
|||||||
OPENAI_API_KEY = os.environ.get("OPENAI_API_KEY", "")
|
OPENAI_API_KEY = os.environ.get("OPENAI_API_KEY", "")
|
||||||
# Ensure MEDIA_ROOT exists (you likely already have this)
|
# Ensure MEDIA_ROOT exists (you likely already have this)
|
||||||
MEDIA_ROOT = os.path.join(BASE_DIR, "media")
|
MEDIA_ROOT = os.path.join(BASE_DIR, "media")
|
||||||
MEDIA_URL = "/media/"
|
MEDIA_URL = "/media/"
|
||||||
|
|
||||||
|
TEMPLATES[0]['OPTIONS']['context_processors'] += [
|
||||||
|
'core.context_processors.available_themes',
|
||||||
|
]
|
||||||
Loading…
Reference in New Issue
Block a user