rename next_page → next in templates
This commit is contained in:
parent
1f631ebae2
commit
d4e0f4bf0f
2 changed files with 3 additions and 3 deletions
|
@ -7,10 +7,10 @@
|
|||
<title>ENS Auth</title>
|
||||
</head>
|
||||
<body>
|
||||
<p><a href="{% url "authens:login.cas" %}?next={{ next_page | urlencode }}">
|
||||
<p><a href="{% url "authens:login.cas" %}?next={{ next| urlencode }}">
|
||||
{% trans "Login par CAS" %}
|
||||
</a></p>
|
||||
<p><a href="{% url "authens:login.pwd" %}?next={{ next_page | urlencode }}">
|
||||
<p><a href="{% url "authens:login.pwd" %}?next={{ next| urlencode }}">
|
||||
{% trans "Login par mot de passe" %}
|
||||
</a></p>
|
||||
</body>
|
||||
|
|
|
@ -40,7 +40,7 @@ class LoginSwitchView(NextPageMixin, TemplateView):
|
|||
|
||||
def get_context_data(self, **kwargs):
|
||||
ctx = super().get_context_data(**kwargs)
|
||||
ctx["next_page"] = self.get_next_url()
|
||||
ctx["next"] = self.get_next_url()
|
||||
return ctx
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue