Browse Source

Add login view for the cpative portal only to avoid using global login view

portal
Yohann D'ANELLO 5 years ago
parent
commit
ea8e5e80db
No known key found for this signature in database GPG Key ID: 3A75C55819C8CF85
  1. 2
      portail/urls.py

2
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"),
]

Loading…
Cancel
Save