Skip to content

Commit 930ddfc

Browse files
authored
Fix link to logout template (#144)
1 parent 3aa2bed commit 930ddfc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

catalog/templates/base_generic.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
<li>User: {{ user.get_username }}</li>
3232
<li><a href="{% url 'my-borrowed' %}">My borrowed</a></li>
3333
<li>
34-
<form id="logout-form" method="post" action="{% url 'admin:logout' %}">
34+
<form id="logout-form" method="post" action="{% url 'logout' %}">
3535
{% csrf_token %}
3636
<button type="submit" class="btn btn-link">Logout</button>
3737
</form>

0 commit comments

Comments
 (0)