#29221 closed Bug (fixed)
No space added before admin-autocomplete CSS class
Reported by: | Artem Tabolin | Owned by: | nobody |
---|---|---|---|
Component: | contrib.admin | Version: | 2.0 |
Severity: | Normal | Keywords: | |
Cc: | Triage Stage: | Ready for checkin | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | yes | UI/UX: | yes |
Description
When Django adds admin-autocomplete
CSS class to the select widget, it doesn't add a space before resulting in two concatenated CSS class names.
One of the consequences: autocomplete doesn't work if initial class attribute wasn't empty.
The operation is performed here:https://github.com/django/django/blob/e17088a108e604cad23b000a83189fdd02a8a2f9/django/contrib/admin/widgets.py#L416
Change History (4)
comment:1 by , 7 years ago
comment:2 by , 7 years ago
Has patch: | set |
---|---|
Triage Stage: | Unreviewed → Ready for checkin |
Note:
See TracTickets
for help on using tickets.
I made a fix: https://github.com/django/django/pull/9786