forked from EGCETSII/decide_django_2
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request EGCETSII#16 from Full-Tortuga/feature/initialtemplate
Solucion errores en landing page
- Loading branch information
Showing
5 changed files
with
73 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,18 @@ | ||
from django.contrib.auth import views | ||
from django.urls import include, path | ||
from rest_framework.authtoken.views import obtain_auth_token | ||
|
||
from .views import BienvenidaView, GetUserView, LogoutView, RegisterView, LDAPLogin, SignInView | ||
from .views import BienvenidaView, GetUserView, LogoutView, RegisterView, LDAPLogin, SignInView, cerrarsesion, inicio | ||
|
||
|
||
urlpatterns = [ | ||
path('login/', obtain_auth_token), | ||
path('logout/', LogoutView.as_view()), | ||
# path('logout/', LogoutView.as_view(), name='logout'), | ||
path('getuser/', GetUserView.as_view()), | ||
path('register/', RegisterView.as_view()), | ||
path('loginLDAP/', LDAPLogin.as_view()), | ||
path('login_form/', SignInView.as_view()), | ||
path('register/', RegisterView.as_view(), name='sign_up'), | ||
path('loginLDAP/', LDAPLogin.as_view(), name="loginldap"), | ||
path('login_form/', SignInView.as_view(), name='sign_in'), | ||
path('bienvenida/', BienvenidaView.as_view()), | ||
path('logout/', cerrarsesion, name="logout"), | ||
# path('', inicio), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters