views: do not pass logout template on logout redirect (#40681)
This commit is contained in:
parent
c5f70c4f2d
commit
443a7464e7
|
@ -1,10 +0,0 @@
|
|||
{% extends "bijoe/base.html" %}
|
||||
|
||||
{% block content %}
|
||||
<p>
|
||||
<i>You have been logged out</i>
|
||||
</p>
|
||||
<p>
|
||||
<a href="{% url "homepage" %}">Continue to homepage</a>
|
||||
</p>
|
||||
{% endblock %}
|
|
@ -113,4 +113,4 @@ def logout(request, next_page=None):
|
|||
next_page = resolve_url(next_page)
|
||||
else:
|
||||
next_page = '/'
|
||||
return HttpResponseRedirect(next_page, template_name='bijoe/logged_out.html')
|
||||
return HttpResponseRedirect(next_page)
|
||||
|
|
Loading…
Reference in New Issue