get_next_url renvoie une str
This commit is contained in:
parent
73da51952f
commit
5315b0f53f
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@ class NextPageMixin:
|
||||||
del request.session["CASNEXT"]
|
del request.session["CASNEXT"]
|
||||||
if next_url is None:
|
if next_url is None:
|
||||||
next_url = settings.LOGIN_REDIRECT_URL
|
next_url = settings.LOGIN_REDIRECT_URL
|
||||||
return next_url
|
return str(next_url)
|
||||||
|
|
||||||
|
|
||||||
class LoginSwitchView(NextPageMixin, TemplateView):
|
class LoginSwitchView(NextPageMixin, TemplateView):
|
||||||
|
|
Loading…
Reference in a new issue