From 0eccefe51c78b61f7385f53f60998b6e2cb97f52 Mon Sep 17 00:00:00 2001 From: Calum Andrew Morrell Date: Wed, 5 Nov 2025 16:26:30 +0000 Subject: [PATCH] linked dashboard into project --- config/settings.py | 3 ++- config/urls.py | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/config/settings.py b/config/settings.py index 3adc0ff..8880298 100644 --- a/config/settings.py +++ b/config/settings.py @@ -44,6 +44,7 @@ INSTALLED_APPS = [ "django.contrib.messages", "django.contrib.staticfiles", "core.apps.CoreConfig", + "dashboard.apps.DashboardConfig", ] MIDDLEWARE = [ @@ -131,7 +132,7 @@ STATIC_ROOT = BASE_DIR / "static" # User model and authentication AUTH_USER_MODEL = "accounts.User" -# LOGIN_REDIRECT_URL = 'dashboard:dashboard' +LOGIN_REDIRECT_URL = "dashboard:dashboard" LOGOUT_REDIRECT_URL = "core:homepage" diff --git a/config/urls.py b/config/urls.py index d5df533..222ea61 100644 --- a/config/urls.py +++ b/config/urls.py @@ -22,4 +22,5 @@ urlpatterns = [ path("admin/", admin.site.urls), path("", include("core.urls", namespace="core")), path("accounts/", include("accounts.urls")), + path("dashboard/", include("dashboard.urls", namespace="dashboard")), ]