Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"length_is" template filter has been deprecated #440

Closed
raminf opened this issue Jun 4, 2024 · 1 comment
Closed

"length_is" template filter has been deprecated #440

raminf opened this issue Jun 4, 2024 · 1 comment

Comments

@raminf
Copy link

raminf commented Jun 4, 2024

https://docs.djangoproject.com/en/dev/releases/5.1/#:~:text=The%20length_is%20template%20filter%20is%20removed

The length_is template filter was deprecated in Django 4.2 and removed in 5.1.

Installing django-unfold with Django 5.1 and Python 3.12 breaks admin and drilling down into individual items:

TemplateSyntaxError at /admin/accounts/customuser/e3c6be05-6020-4155-9ce5-35eb000a5b8b/change/
Invalid filter: 'length_is'
...
lib/python3.12/site-packages/unfold/templates/admin/includes/fieldset.html, error at line 18

@lukasvinclav
Copy link
Contributor

Fixed #442

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

No branches or pull requests

2 participants