From 7c90f80c27c7f9c32c7290979f5097ec30cb03d3 Mon Sep 17 00:00:00 2001 From: Andrey Volkov Date: Fri, 24 May 2024 13:27:14 +0300 Subject: [PATCH] Django 5x logout --- jet/templates/admin/base.html | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/jet/templates/admin/base.html b/jet/templates/admin/base.html index 262763f5..535f7b87 100644 --- a/jet/templates/admin/base.html +++ b/jet/templates/admin/base.html @@ -48,6 +48,10 @@ +
+ {% csrf_token %} +
+
@@ -79,7 +83,7 @@ {% if user.has_usable_password %} {% trans 'Change password' %} / {% endif %} - {% trans 'Log out' %} + {% trans 'Log out' %} {% endblock %}
{% endif %}