From b466a145b8fb6523bcb6c85eb6bef391b3b48c6c Mon Sep 17 00:00:00 2001 From: Joshua Laymon Date: Thu, 14 Aug 2025 16:48:34 +0000 Subject: [PATCH] Update web/illustrations/settings.py add version number --- web/illustrations/settings.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/web/illustrations/settings.py b/web/illustrations/settings.py index bb27151..0c5ea87 100644 --- a/web/illustrations/settings.py +++ b/web/illustrations/settings.py @@ -33,6 +33,8 @@ TEMPLATES = [{ "django.template.context_processors.request", "django.contrib.auth.context_processors.auth", "django.contrib.messages.context_processors.messages", + # ✅ add this line to expose {{ APP_VERSION }} in templates + "core.context_processors.app_version", ]}, }] WSGI_APPLICATION="illustrations.wsgi.application" @@ -59,4 +61,4 @@ STATICFILES_DIRS=[BASE_DIR/"static"] LOGIN_URL="/login/" LOGIN_REDIRECT_URL="/search/" -LOGOUT_REDIRECT_URL="/login/" +LOGOUT_REDIRECT_URL="/login/" \ No newline at end of file