Skip to content

Commit

Permalink
Fix link to logout template (#144)
Browse files Browse the repository at this point in the history
  • Loading branch information
hamishwillee authored May 3, 2024
1 parent 3aa2bed commit 930ddfc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion catalog/templates/base_generic.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
<li>User: {{ user.get_username }}</li>
<li><a href="{% url 'my-borrowed' %}">My borrowed</a></li>
<li>
<form id="logout-form" method="post" action="{% url 'admin:logout' %}">
<form id="logout-form" method="post" action="{% url 'logout' %}">
{% csrf_token %}
<button type="submit" class="btn btn-link">Logout</button>
</form>
Expand Down

0 comments on commit 930ddfc

Please sign in to comment.