From f7f25b9f0cd87924bcae384c4c15af9375b9ee44 Mon Sep 17 00:00:00 2001 From: Henrik Mildner Date: Sat, 8 Mar 2025 12:30:45 +0100 Subject: [PATCH] Weiterleitung Bibliothek --- core/core/settings.py | 2 +- core/core/urls.py | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/core/core/settings.py b/core/core/settings.py index a85af6b..f9789b6 100644 --- a/core/core/settings.py +++ b/core/core/settings.py @@ -127,4 +127,4 @@ BASE_DIR='static' #von ben8 hinzugefügt DEFAULT_AUTO_FIELD = 'django.db.models.BigAutoField' -LOGIN_URL = '/login/' \ No newline at end of file +LOGIN_URL = '/account/login/' \ No newline at end of file diff --git a/core/core/urls.py b/core/core/urls.py index 6835e00..14e33a2 100644 --- a/core/core/urls.py +++ b/core/core/urls.py @@ -16,11 +16,12 @@ Including another URLconf """ from django.contrib import admin # type: ignore from django.urls import path, include +from django.contrib.auth import login urlpatterns = [ path('admin/', admin.site.urls), path('account/', include('accounts.urls')), path('', include('homepage.urls')), path('play/', include('components.urls')), - path('library/', include('library.urls')), + path('library/', include('library.urls'),), ]