Compare commits
2 commits
51f71ec540
...
cd9bc0cba3
Author | SHA1 | Date | |
---|---|---|---|
|
cd9bc0cba3 | ||
|
393d5c0d45 |
2 changed files with 2 additions and 1 deletions
|
@ -92,7 +92,7 @@
|
||||||
</li>
|
</li>
|
||||||
<hr class="d-lg-none">
|
<hr class="d-lg-none">
|
||||||
<div class="d-flex flex-row">
|
<div class="d-flex flex-row">
|
||||||
{% if request.user %}
|
{% if request.user.is_authenticated %}
|
||||||
<li class="nav-item me-2 md-me-0">
|
<li class="nav-item me-2 md-me-0">
|
||||||
<a href="{% url 'user_profile' %}">
|
<a href="{% url 'user_profile' %}">
|
||||||
<div class="nav-link mr-auto">
|
<div class="nav-link mr-auto">
|
||||||
|
|
|
@ -116,6 +116,7 @@ AUTH_PASSWORD_VALIDATORS = [
|
||||||
},
|
},
|
||||||
]
|
]
|
||||||
|
|
||||||
|
LOGOUT_REDIRECT_URL = "/"
|
||||||
|
|
||||||
# Internationalization
|
# Internationalization
|
||||||
# https://docs.djangoproject.com/en/4.1/topics/i18n/
|
# https://docs.djangoproject.com/en/4.1/topics/i18n/
|
||||||
|
|
Loading…
Reference in a new issue