linked core app into project

dev
Calum Andrew Morrell 2025-11-05 16:10:51 +00:00
parent d77cbd0d8d
commit e4f2cd1fe4
2 changed files with 4 additions and 2 deletions

View File

@ -43,6 +43,7 @@ INSTALLED_APPS = [
"django.contrib.sessions",
"django.contrib.messages",
"django.contrib.staticfiles",
"core.apps.CoreConfig",
]
MIDDLEWARE = [
@ -130,8 +131,8 @@ STATIC_ROOT = BASE_DIR / "static"
# User model and authentication
AUTH_USER_MODEL = "accounts.User"
# LOGIN_REDIRECT_URL = ''
# LOGOUT_REDIRECT_URL = ''
# LOGIN_REDIRECT_URL = 'dashboard:dashboard'
LOGOUT_REDIRECT_URL = "core:homepage"
# Default primary key field type

View File

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