Remove BootstrapMixin #9066

Closed
opened 2025-12-29 20:45:00 +01:00 by adam · 0 comments
Owner

Originally created by @jeremystretch on GitHub (Jan 8, 2024).

Originally assigned to: @jeremystretch on GitHub.

Proposed Changes

Ditch the BootstrapMixin class that's currently used to facilitate custom form field styling. Now that FORM_RENDERER has been configured to look for custom templates (see #13064), the functionality provided by this class can be offloaded to custom templates.

Justification

This change will remove a lot of cruft from existing form classes.

Originally created by @jeremystretch on GitHub (Jan 8, 2024). Originally assigned to: @jeremystretch on GitHub. ### Proposed Changes Ditch the `BootstrapMixin` class that's currently used to facilitate custom form field styling. Now that [`FORM_RENDERER`](https://docs.djangoproject.com/en/5.0/ref/forms/renderers/#the-low-level-render-api) has been configured to look for custom templates (see #13064), the functionality provided by this class can be offloaded to custom templates. ### Justification This change will remove a lot of cruft from existing form classes.
adam added the status: acceptedtype: housekeeping labels 2025-12-29 20:45:00 +01:00
adam closed this issue 2025-12-29 20:45:00 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#9066