Browse Source
Add login view for the cpative portal only to avoid using global login view
portal
Yohann D'ANELLO
5 years ago
No known key found for this signature in database
GPG Key ID: 3A75C55819C8CF85
1 changed files with
2 additions and
0 deletions
-
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"), |
|
|
|
] |
|
|
|
|