From 945ff8be771877e4ae7c4476357ccbbf18143f45 Mon Sep 17 00:00:00 2001 From: Gabriel Detraz Date: Wed, 14 Dec 2016 03:48:50 +0100 Subject: [PATCH] Change le comportement de /login/ dans django 1.10, fix redirect url --- re2o/settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/re2o/settings.py b/re2o/settings.py index 7cf10b42..d8842df8 100644 --- a/re2o/settings.py +++ b/re2o/settings.py @@ -28,7 +28,7 @@ PASSWORD_HASHERS = ( ) AUTH_USER_MODEL = 'users.User' -LOGIN_URL = '/login' +LOGIN_URL = '/login/' LOGIN_REDIRECT_URL = '/'