From ea8e5e80dbc4aa4d7620a78fa9edcbba9f7d44ab Mon Sep 17 00:00:00 2001 From: Yohann D'ANELLO Date: Mon, 1 Feb 2021 03:17:09 +0100 Subject: [PATCH] Add login view for the cpative portal only to avoid using global login view --- portail/urls.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/portail/urls.py b/portail/urls.py index e4d14bdf..c1bf014a 100644 --- a/portail/urls.py +++ b/portail/urls.py @@ -26,9 +26,11 @@ This is only sugar, this does not provide any model. """ from django.conf.urls import url +from django.contrib.auth.views import LoginView from .views import SignUpView urlpatterns = [ url(r"^signup/$", SignUpView.as_view(), name="signup"), + url(r"^login/$", LoginView.as_view(), name="login"), ]