From b222c944f69f8f230af3868779aaac45cda7a327 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20P=C3=A9pin?= Date: Fri, 10 Jun 2016 23:16:39 +0200 Subject: [PATCH] =?UTF-8?q?Change=20la=20redirection=20apr=C3=A8s=20'/outs?= =?UTF-8?q?ider/logout'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit On change `/gestion/` en `home` qui fait la même chose mais fonctionne à la fois en dev et en prod. --- cof/urls.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cof/urls.py b/cof/urls.py index b9628d0f..ce7cd6f6 100644 --- a/cof/urls.py +++ b/cof/urls.py @@ -31,7 +31,7 @@ urlpatterns = patterns('', url(r'^cas/logout$', 'django_cas_ng.views.logout'), url(r'^outsider/login$', 'gestioncof.views.login_ext'), url(r'^outsider/logout$', 'django.contrib.auth.views.logout', - {'next_page': '/gestion/'}), + {'next_page': 'home'}), url(r'^login$', 'gestioncof.views.login'), url(r'^logout$', 'gestioncof.views.logout'), # Infos persos