From 747b417a220b0412ed806001a383959449aac6da Mon Sep 17 00:00:00 2001 From: Gavin Wahl Date: Wed, 2 Nov 2022 16:29:17 -0600 Subject: [PATCH] Fixed #35798, Refs #31641 -- Prevented admin navigation sidebar loading flicker. Thank you to Mario Munoz and Thibaud Colas for the testing and review. --- django/contrib/admin/templates/admin/base.html | 1 - django/contrib/admin/templates/admin/nav_sidebar.html | 3 ++- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/django/contrib/admin/templates/admin/base.html b/django/contrib/admin/templates/admin/base.html index 18e3a2a9fc..f4df6b30af 100644 --- a/django/contrib/admin/templates/admin/base.html +++ b/django/contrib/admin/templates/admin/base.html @@ -10,7 +10,6 @@ {% endblock %} {% if not is_popup and is_nav_sidebar_enabled %} - {% endif %} {% block extrastyle %}{% endblock %} {% if LANGUAGE_BIDI %}{% endif %} diff --git a/django/contrib/admin/templates/admin/nav_sidebar.html b/django/contrib/admin/templates/admin/nav_sidebar.html index a413e23754..37cdac2184 100644 --- a/django/contrib/admin/templates/admin/nav_sidebar.html +++ b/django/contrib/admin/templates/admin/nav_sidebar.html @@ -1,4 +1,4 @@ -{% load i18n %} +{% load i18n static %} +