From 818e4783531984ce94fe4cbb1bf2a4fb3c0ea573 Mon Sep 17 00:00:00 2001 From: Luca Date: Sat, 4 May 2024 00:05:00 +0200 Subject: [PATCH] feat: generate footer nav from context --- shiftregister/core/templates/base.html | 10 +++++++--- shiftregister/settings.py | 18 +++++++++--------- 2 files changed, 16 insertions(+), 12 deletions(-) diff --git a/shiftregister/core/templates/base.html b/shiftregister/core/templates/base.html index ed53484..afab539 100644 --- a/shiftregister/core/templates/base.html +++ b/shiftregister/core/templates/base.html @@ -110,9 +110,13 @@ {% endblock %} diff --git a/shiftregister/settings.py b/shiftregister/settings.py index 8271136..b34536c 100644 --- a/shiftregister/settings.py +++ b/shiftregister/settings.py @@ -40,15 +40,15 @@ ALLOWED_HOSTS = list(filter(lambda s: s != "", getenv("ALLOWED_HOSTS", "").split INSTALLED_APPS = [ "dynamic_preferences", - "shiftregister.app.apps.AppConfig", - "shiftregister.core.apps.CoreConfig", - "shiftregister.fallback.apps.FallbackConfig", - "shiftregister.importer.apps.ImporterConfig", - "shiftregister.metrics.apps.MetricsConfig", - "shiftregister.pages.apps.PagesConfig", - "shiftregister.signage.apps.SignageConfig", - "shiftregister.team.apps.TeamConfig", - "shiftregister.feedback.apps.FeedbackConfig", + "shiftregister.app", + "shiftregister.core", + "shiftregister.fallback", + "shiftregister.importer", + "shiftregister.metrics", + "shiftregister.pages", + "shiftregister.signage", + "shiftregister.team", + "shiftregister.feedback", "django.contrib.admin", "django.contrib.auth", "django.contrib.contenttypes",