Gitlab CSE Unil

Commit cfbbee82 authored by M. Chardon's avatar M. Chardon
Browse files

correction bug authenfication django

parent b59c0d4b
......@@ -17,7 +17,7 @@ urlpatterns = [
url(r'^shibauth/', include('shibauth.urls')),
#re_path(r'^accounts/login/$', views.LoginView.as_view(), {'template_name': "adim/home.html"}, name='django.contrib.auth.views.login'),
url(r'^accounts/login/$', views.LoginView.as_view(), {'template_name': "adim/home.html"}, name='django.contrib.auth.views.login'),
url(r'^accounts/login/$', views.LoginView.as_view(template_name='adim/home.html'), name='django.contrib.auth.views.login'),
url(r'^accounts/logout/$', views.LogoutView.as_view(), name='logout'),
url(r'^api/', include('adim.urls')),
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment