#2384: Changing TEMPLATE_STRING_IF_INVALID breaks Admin Interface display of
model
list
-------------------------------+--------------------------------------
Reporter: robbie@… | Owner: adrian
Type: defect | Status: reopened
Component: contrib.admin | Version: master
Severity: normal | Resolution:
Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+--------------------------------------
Changes (by gcc):
* status: closed => reopened
* ui_ux: => 0
* resolution: fixed =>
* easy: => 0
Comment:
Well, that doesn't actually fix the problem, it just documents it.
In
https://github.com/django/django/blob/master/django/contrib/admin/templatetags/admin_list.py#L109,
`result_headers` yields a text block without a `class_attrib` value. But
the template expects it to be present. We could just have it send an empty
one.
--
Ticket URL: <https://code.djangoproject.com/ticket/2384#comment:2>
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en.