diff --git a/config/__pycache__/settings.cpython-311.pyc b/config/__pycache__/settings.cpython-311.pyc index 590b182..29253b3 100644 Binary files a/config/__pycache__/settings.cpython-311.pyc and b/config/__pycache__/settings.cpython-311.pyc differ diff --git a/config/__pycache__/urls.cpython-311.pyc b/config/__pycache__/urls.cpython-311.pyc index cc6f4b1..4b2e9c3 100644 Binary files a/config/__pycache__/urls.cpython-311.pyc and b/config/__pycache__/urls.cpython-311.pyc differ diff --git a/config/settings.py b/config/settings.py index 54296d7..bfd74de 100644 --- a/config/settings.py +++ b/config/settings.py @@ -188,6 +188,7 @@ if EMAIL_USE_SSL: DEFAULT_AUTO_FIELD = 'django.db.models.BigAutoField' +LOGIN_URL = 'login' LOGIN_REDIRECT_URL = 'dashboard' LOGOUT_REDIRECT_URL = 'home' @@ -212,5 +213,4 @@ MESSAGE_TAGS = { messages.SUCCESS: 'success', messages.WARNING: 'warning', messages.ERROR: 'danger', -} - +} \ No newline at end of file diff --git a/config/urls.py b/config/urls.py index cfd9fd4..d3a7140 100644 --- a/config/urls.py +++ b/config/urls.py @@ -5,8 +5,8 @@ from django.conf.urls.static import static urlpatterns = [ path('i18n/', include('django.conf.urls.i18n')), - path("admin/", admin.site.urls), path("", include("core.urls")), + path("admin/", admin.site.urls), ] if settings.DEBUG: