8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-11-22 03:13:12 +00:00

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

This commit is contained in:
Yohann D'ANELLO 2021-02-01 03:17:09 +01:00
parent dea5f633a9
commit ea8e5e80db
No known key found for this signature in database
GPG key ID: 3A75C55819C8CF85

View file

@ -26,9 +26,11 @@ This is only sugar, this does not provide any model.
""" """
from django.conf.urls import url from django.conf.urls import url
from django.contrib.auth.views import LoginView
from .views import SignUpView from .views import SignUpView
urlpatterns = [ urlpatterns = [
url(r"^signup/$", SignUpView.as_view(), name="signup"), url(r"^signup/$", SignUpView.as_view(), name="signup"),
url(r"^login/$", LoginView.as_view(), name="login"),
] ]