mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-11-25 12:53:11 +00:00
Add login view for the cpative portal only to avoid using global login view
This commit is contained in:
parent
dea5f633a9
commit
ea8e5e80db
1 changed files with 2 additions and 0 deletions
|
@ -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"),
|
||||||
]
|
]
|
||||||
|
|
Loading…
Reference in a new issue