diff options
| author | Jon Dufresne <jon.dufresne@gmail.com> | 2020-05-10 09:27:47 -0700 |
|---|---|---|
| committer | Claude Paroz <claude@2xlibre.net> | 2020-05-28 15:21:47 +0200 |
| commit | 3bc4240d979812bd11365ede04c028ea13fdc8c6 (patch) | |
| tree | 2ded32ddc1e2ed409990d4ffcbb1b74733dd0237 | |
| parent | d94a9aa0557a459a5b9b7b82a8c043de14f8b1a0 (diff) | |
Removed unused admin:jsi18n <script> element from change_password.html.
The view does not contain any other JavaScript and therefore does not
have any user facing JavaScript strings to translate. Avoid the HTTP
request.
| -rw-r--r-- | django/contrib/admin/templates/admin/auth/user/change_password.html | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/django/contrib/admin/templates/admin/auth/user/change_password.html b/django/contrib/admin/templates/admin/auth/user/change_password.html index 1c3347e659..895374deea 100644 --- a/django/contrib/admin/templates/admin/auth/user/change_password.html +++ b/django/contrib/admin/templates/admin/auth/user/change_password.html @@ -2,9 +2,6 @@ {% load i18n static %} {% load admin_urls %} -{% block extrahead %}{{ block.super }} -<script src="{% url 'admin:jsi18n' %}"></script> -{% endblock %} {% block extrastyle %}{{ block.super }}<link rel="stylesheet" type="text/css" href="{% static "admin/css/forms.css" %}">{% endblock %} {% block bodyclass %}{{ block.super }} {{ opts.app_label }}-{{ opts.model_name }} change-form{% endblock %} {% if not is_popup %} |
