mirror of https://github.com/django/django.git
Fixed #32385 -- Removed unused and duplicated loading of tags in admin templates.
- `i18n` is duplicated in base.html. - `l10n` is unused in prepopulated_fields_js.html sinced638cdc42a
. - `static` is unused in change_list_results.html sincef2ed107b07
. - `static` is unused in stacked.html sinced61ebc8fed
.
This commit is contained in:
parent
c978dd93fd
commit
a736baab92
|
@ -18,7 +18,6 @@
|
|||
{% endblock %}
|
||||
{% block blockbots %}<meta name="robots" content="NONE,NOARCHIVE">{% endblock %}
|
||||
</head>
|
||||
{% load i18n %}
|
||||
|
||||
<body class="{% if is_popup %}popup {% endif %}{% block bodyclass %}{% endblock %}"
|
||||
data-admin-utc-offset="{% now "Z" %}">
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{% load i18n static %}
|
||||
{% load i18n %}
|
||||
{% if result_hidden_fields %}
|
||||
<div class="hiddenfields">{# DIV for HTML validation #}
|
||||
{% for item in result_hidden_fields %}{{ item }}{% endfor %}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{% load i18n admin_urls static %}
|
||||
{% load i18n admin_urls %}
|
||||
<div class="js-inline-admin-formset inline-group"
|
||||
id="{{ inline_admin_formset.formset.prefix }}-group"
|
||||
data-inline-type="stacked"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{% load l10n static %}
|
||||
{% load static %}
|
||||
<script id="django-admin-prepopulated-fields-constants"
|
||||
src="{% static "admin/js/prepopulate_init.js" %}"
|
||||
data-prepopulated-fields="{{ prepopulated_fields_json }}">
|
||||
|
|
Loading…
Reference in New Issue