From 9a8d9f9c60eaf7e873a18dc22b130479f458898b Mon Sep 17 00:00:00 2001 From: Calum Andrew Morrell Date: Sun, 9 Nov 2025 12:41:17 +0000 Subject: [PATCH] Linked core into project. --- config/settings.py | 2 ++ config/urls.py | 1 + 2 files changed, 3 insertions(+) diff --git a/config/settings.py b/config/settings.py index 16163e6..1c382c2 100644 --- a/config/settings.py +++ b/config/settings.py @@ -43,6 +43,7 @@ INSTALLED_APPS = [ "django.contrib.sessions", "django.contrib.messages", "django.contrib.staticfiles", + "core", ] MIDDLEWARE = [ @@ -130,6 +131,7 @@ STATIC_ROOT = BASE_DIR / "static" # User model and authentication AUTH_USER_MODEL = "accounts.User" +LOGOUT_REDIRECT_URL = "core:homepage" # Default primary key field type diff --git a/config/urls.py b/config/urls.py index 9245fc1..d5df533 100644 --- a/config/urls.py +++ b/config/urls.py @@ -20,5 +20,6 @@ from django.urls import include, path urlpatterns = [ path("admin/", admin.site.urls), + path("", include("core.urls", namespace="core")), path("accounts/", include("accounts.urls")), ]