[Django] #36932: Admin renders label after widget for non-model form fields when using FilteredSelectMultiple

3 views
Skip to first unread message

Django

unread,
Feb 16, 2026, 7:27:36 PMFeb 16
to django-...@googlegroups.com
#36932: Admin renders label after widget for non-model form fields when using
FilteredSelectMultiple
--------------------------+-----------------------------------------
Reporter: jakeymac | Type: Uncategorized
Status: new | Component: Uncategorized
Version: 5.2 | Severity: Normal
Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
--------------------------+-----------------------------------------
I'm a developer for Tethys Platform, an open source earth science web
development platform based on Django.

When adding non-model ModelMultipleChoiceFields dynamically to a
ModelAdmin form (e.g., via a custom form or get_form()), Django admin
renders the widget before the label when the field uses
FilteredSelectMultiple as its widget. I've tested this in versions 5.2.9
and 5.2.11 with the same behavior.

I have found that as soon as i place {{ field.field}} (line 24 in
fieldset.html), inside a div container, the template renders as expected,
with the label coming before the widget.
--
Ticket URL: <https://code.djangoproject.com/ticket/36932>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Feb 17, 2026, 11:51:28 AMFeb 17
to django-...@googlegroups.com
#36932: Admin renders label after widget for non-model form fields when using
FilteredSelectMultiple
-------------------------------+--------------------------------------
Reporter: Jacob Johnson | Owner: (none)
Type: Bug | Status: new
Component: Uncategorized | Version: 5.2
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 Jacob Johnson):

* type: Uncategorized => Bug

--
Ticket URL: <https://code.djangoproject.com/ticket/36932#comment:1>

Django

unread,
Feb 25, 2026, 2:40:07 PM (10 days ago) Feb 25
to django-...@googlegroups.com
#36932: Admin renders label after widget for non-model form fields when using
FilteredSelectMultiple
-------------------------------+--------------------------------------
Reporter: Jacob Johnson | Owner: (none)
Type: Bug | Status: closed
Component: Uncategorized | Version: 5.2
Severity: Normal | Resolution: needsinfo
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 Jacob Walls):

* resolution: => needsinfo
* status: new => closed

Comment:

Hi, thanks for the report.
- I'm not sure what "non-model ModelMultipleChoiceField" refers to here.
- Can you reproduce on main? 5.2 is in extended support and doesn't
receive UI tweaks.
- Further, #34643 is ready for checkin and will merge this week, most
likely, so it is worth rechecking the behavior after that.

You can reopen if you provide enough information to reproduce the issue.
Thanks.
--
Ticket URL: <https://code.djangoproject.com/ticket/36932#comment:2>
Reply all
Reply to author
Forward
0 new messages