Skip to content

Commit

Permalink
v1.0.14 - Fix LOGOUT for ADMIN
Browse files Browse the repository at this point in the history
  • Loading branch information
app-generator committed Sep 17, 2024
1 parent a7f1966 commit a8eb2e1
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 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.14] 2024-09-17
### Changes

- Fix LOGOUT for Admin

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

Expand Down
6 changes: 0 additions & 6 deletions admin_soft/templates/includes/navigation.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,7 @@

{% if request.user.is_authenticated %}
<li class="nav-item d-flex align-items-center">

{% if request.user.is_superuser %}
<a href="{% url 'admin:logout' %}" class="nav-link text-body font-weight-bold px-0">
{% else %}
<a href="{% url 'logout' %}" class="nav-link text-body font-weight-bold px-0">
{% endif %}

<i class="fa fa-user me-sm-1"></i>
<span class="d-sm-inline d-none me-3">Logout</span>
</a>
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-soft-dashboard',
version='1.0.13',
version='1.0.14',
zip_safe=False,
packages=find_packages(),
include_package_data=True,
Expand Down

0 comments on commit a8eb2e1

Please sign in to comment.