Merge branch 'Aufinal/admin_logout' into 'master'

Change le logout admin pour déconnecter de CAS

Redirige `/admin/logout` vers `/logout` pour déconnecter totalement
l'utilisateur.

fixes #47

See merge request !49
This commit is contained in:
Martin Pepin 2016-06-23 23:36:37 +02:00
commit 374812d702

View file

@ -53,6 +53,7 @@ urlpatterns = patterns('',
url(r'^autocomplete/registration$', 'gestioncof.autocomplete.autocomplete'),
url(r'^autocomplete/', include('autocomplete_light.urls')),
# Interface admin
url(r'^admin/logout/', 'gestioncof.views.logout'),
url(r'^admin/doc/', include('django.contrib.admindocs.urls')),
url(r'^admin/(?P<app_label>[\d\w]+)/(?P<model_name>[\d\w]+)/csv/',
'gestioncof.csv_views.admin_list_export',