Skip to content

Commit

Permalink
v1.0.11 - Fix LOGOUT
Browse files Browse the repository at this point in the history
  • Loading branch information
app-generator committed Sep 16, 2024
1 parent 829be11 commit ca2e0a1
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 5 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# CHANGELOG

## [1.0.11] 2024-09-16
### Changes

- Fix Logout

## [1.0.10] 2024-09-16
### Changes

Expand Down
6 changes: 3 additions & 3 deletions admin_black/templates/includes/navigation.html
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,9 @@
{% if request.user.is_authenticated %}
{% if request.user.is_superuser %}
<li class="nav-link"><a href="{% url 'admin:password_change' %}" class="dropdown-item">
Change Password</a></li>
<li class="nav-link"><a href="{% url 'admin:logout' %}" class="nav-item dropdown-item">Log
out</a></li>
Change Password</a></li>
<li class="nav-link"><a href="{% url 'logout' %}" class="nav-item dropdown-item">
Logout</a></li>
{% else %}

<li><a href="{% url 'password_change' %}" class="dropdown-item">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
{% endif %}

{% trans 'Change password' %} /
<a href="{% url 'admin:logout' %}">{% trans 'Log out' %}</a>
<a href="{% url 'logout' %}">{% trans 'Log out' %}</a>
{% endblock %}

{% block breadcrumbs %}
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

setup(
name='django-admin-black',
version='1.0.10',
version='1.0.11',
zip_safe=False,
packages=find_packages(),
include_package_data=True,
Expand Down

0 comments on commit ca2e0a1

Please sign in to comment.