We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dbe532c commit 2a1e86cCopy full SHA for 2a1e86c
ansible_base/lib/drf_templates/rest_framework/api.html
@@ -74,7 +74,7 @@
74
</div>
75
{{ block.super }}
76
<script src="{% static 'api/api.js' %}?v={{ django_app_version }}"></script>
77
-<form name="logoutForm" action="{% url 'logout' %}?next=/api/django_app/v1/" role="form" method="post">
+<form name="logoutForm" action="{% url 'logout' %}?next={{ request.path }}" role="form" method="post">
78
{% csrf_token %}
79
</form>
80
{% endblock %}
0 commit comments