Update README, change URL Pattern and change login Template Location for more coherence
This commit is contained in:
@@ -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'),
|
||||
]
|
||||
Reference in New Issue
Block a user