Update README, change URL Pattern and change login Template Location for more coherence

This commit is contained in:
jvs
2025-01-17 19:31:15 +01:00
parent c9de0668e4
commit 09d8f8c7c6
3 changed files with 14 additions and 3 deletions

View File

@@ -4,7 +4,7 @@ from django.contrib.auth.views import LogoutView
from django.contrib.auth.views import LoginView
urlpatterns = [
path('', views.home),
path('', views.home, name='home'),
path('logout/', LogoutView.as_view(), name='logout'),
path('accounts/login/', LoginView.as_view(), name='login'),
path('login/', LoginView.as_view(template_name='accounts/login.html', next_page='home'), name='login'),
]