linked dashboard into project

dev
Calum Andrew Morrell 2025-11-05 16:26:30 +00:00
parent f27f590b7b
commit 0eccefe51c
2 changed files with 3 additions and 1 deletions

View File

@ -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"

View File

@ -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")),
]