diff options
| author | Jay Patel <60194127+j-the-ripper@users.noreply.github.com> | 2022-09-15 18:03:41 +0530 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-09-15 14:33:41 +0200 |
| commit | a69b0e9cfe0af7cd2deaf55c069453c4c4598604 (patch) | |
| tree | 5e565129c8dc1607475398f9df5e09a9cc88a9dd | |
| parent | cd11664066087051ef11311708ebc55def48d1da (diff) | |
Fixed #33994 -- Corrected position of extrastyle and extrahead blocks in admin base template.
| -rw-r--r-- | django/contrib/admin/templates/admin/base.html | 4 |
1 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 19d89e8b47..32613e6184 100644 --- a/django/contrib/admin/templates/admin/base.html +++ b/django/contrib/admin/templates/admin/base.html @@ -12,15 +12,15 @@ <link rel="stylesheet" href="{% static "admin/css/nav_sidebar.css" %}"> <script src="{% static 'admin/js/nav_sidebar.js' %}" defer></script> {% endif %} -{% block extrastyle %}{% endblock %} {% if LANGUAGE_BIDI %}<link rel="stylesheet" href="{% block stylesheet_rtl %}{% static "admin/css/rtl.css" %}{% endblock %}">{% endif %} -{% block extrahead %}{% endblock %} {% block responsive %} <meta name="viewport" content="user-scalable=no, width=device-width, initial-scale=1.0, maximum-scale=1.0"> <link rel="stylesheet" href="{% static "admin/css/responsive.css" %}"> {% if LANGUAGE_BIDI %}<link rel="stylesheet" href="{% static "admin/css/responsive_rtl.css" %}">{% endif %} {% endblock %} {% block blockbots %}<meta name="robots" content="NONE,NOARCHIVE">{% endblock %} +{% block extrastyle %}{% endblock %} +{% block extrahead %}{% endblock %} </head> <body class="{% if is_popup %}popup {% endif %}{% block bodyclass %}{% endblock %}" |
