From 40d6c40e4af800cf642eb478643d7c60c984759e Mon Sep 17 00:00:00 2001 From: Joshua Laymon Date: Sat, 6 Sep 2025 02:49:03 +0000 Subject: [PATCH] Update web/illustrations/settings.py --- web/illustrations/settings.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/web/illustrations/settings.py b/web/illustrations/settings.py index 859ce03..b0cb102 100644 --- a/web/illustrations/settings.py +++ b/web/illustrations/settings.py @@ -69,4 +69,8 @@ LOGOUT_REDIRECT_URL="/login/" OPENAI_API_KEY = os.environ.get("OPENAI_API_KEY", "") # Ensure MEDIA_ROOT exists (you likely already have this) MEDIA_ROOT = os.path.join(BASE_DIR, "media") -MEDIA_URL = "/media/" \ No newline at end of file +MEDIA_URL = "/media/" + +TEMPLATES[0]['OPTIONS']['context_processors'] += [ + 'core.context_processors.available_themes', +] \ No newline at end of file