From 5315b0f53fc34d78bba09925278fe05bb53b63d9 Mon Sep 17 00:00:00 2001 From: Tom Hubrecht Date: Sat, 30 Jan 2021 21:52:24 +0100 Subject: [PATCH] get_next_url renvoie une str --- authens/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/authens/views.py b/authens/views.py index fc63867..bcdc702 100644 --- a/authens/views.py +++ b/authens/views.py @@ -32,7 +32,7 @@ class NextPageMixin: del request.session["CASNEXT"] if next_url is None: next_url = settings.LOGIN_REDIRECT_URL - return next_url + return str(next_url) class LoginSwitchView(NextPageMixin, TemplateView):