#32385: contrib.admin's base template loads i18n twice
-------------------------------------+-------------------------------------
Reporter: Jim | Owner: Tim
Type: | McCurrach
Cleanup/optimization | Status: assigned
Component: contrib.admin | Version: 3.1
Severity: Normal | Resolution:
Keywords: admin, template | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Tim McCurrach):
* owner: nobody => Tim McCurrach
* status: new => assigned
Comment:
I have created a PR for this. I had a look through the other templates in
contrib, to check for any similar instances of this. I didn't find any
duplicates but I did notice:
- `...admin/prepopulated_fields_js.html` loads `l10n` but doesn't appear
to use any l10n template tags
- `...admin/change_list_results.html` and
`...admin/edit_inline/stacked.html` loads `static` but doesn't appear to
use any static template tags
Is it okay to remove those as well, and turn this into a general template
tags clear-up ticket. Or should they go into their own ticket?
--
Ticket URL: <https://code.djangoproject.com/ticket/32385#comment:4>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/068.c1cf2f132119d777f9f5b658156bf229%40djangoproject.com.