Skip to content

fix(Admin): fieldsets_with_inlines: override template for compatibility with Django 5 (length_is, CSS)#2040

Merged
raphodn merged 1 commit into
masterfrom
raphodn/admin-fieldset-with-inlines-fix
Apr 10, 2026
Merged

fix(Admin): fieldsets_with_inlines: override template for compatibility with Django 5 (length_is, CSS)#2040
raphodn merged 1 commit into
masterfrom
raphodn/admin-fieldset-with-inlines-fix

Conversation

@raphodn

@raphodn raphodn commented Apr 10, 2026

Copy link
Copy Markdown
Member

What

In this project we use the django-fieldsets-with-inlines package. It hasn't been updated in 3 years. And it's not compatible anymore with Django 5.

This PR creates a new templates/fieldsets_with_inlines/fieldset.html to override and fix the compatibility

  • replaces the deprecated length_is filter
  • adapts the HTML/CSS to keep the layout

See robertkovac/django-fieldsets-with-inlines#10

A better solution would be to fork or maintain the package, instead of overriding...

@raphodn
raphodn merged commit 81bbe46 into master Apr 10, 2026
3 checks passed
@raphodn
raphodn deleted the raphodn/admin-fieldset-with-inlines-fix branch April 10, 2026 13:16
@raphodn raphodn linked an issue Apr 28, 2026 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Upgrade to Django 5

1 participant