Fixed logout
This commit is contained in:
parent
184b7e2e0a
commit
583dac0f3a
@ -54,9 +54,6 @@
|
|||||||
<li class="nav-item text-dark-primary">
|
<li class="nav-item text-dark-primary">
|
||||||
<a class="nav-link" href="/admin/">ADMIN PANEL</a>
|
<a class="nav-link" href="/admin/">ADMIN PANEL</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="nav-item text-dark-primary">
|
|
||||||
<a class="nav-link" href="{% url 'logout' %}">LOGOUT</a>
|
|
||||||
</li>
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if request.user.is_authenticated%}
|
{% if request.user.is_authenticated%}
|
||||||
<li class="nav-item text-dark-primary">
|
<li class="nav-item text-dark-primary">
|
||||||
|
Loading…
Reference in New Issue
Block a user