Linked dashboard into project.

pull/1/head
Calum Andrew Morrell 2025-11-09 12:53:45 +00:00
parent 447edf45cb
commit b07b223729
2 changed files with 3 additions and 0 deletions

View File

@ -44,6 +44,7 @@ INSTALLED_APPS = [
"django.contrib.messages",
"django.contrib.staticfiles",
"core",
"dashboard",
]
MIDDLEWARE = [
@ -131,6 +132,7 @@ STATIC_ROOT = BASE_DIR / "static"
# User model and authentication
AUTH_USER_MODEL = "accounts.User"
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")),
]