assem-ch / django-jet-reboot

Legacy Django jet rebooted to support Django > 3 (4 and 5), and latest python releases
https://django-jet-reboot.readthedocs.io/
GNU Affero General Public License v3.0
420 stars 68 forks source link

admin pages crash when using jet reboot with django 5.1 #109

Closed lucas-stauder closed 3 months ago

lucas-stauder commented 3 months ago

File "/code/.venv/lib/python3.12/site-packages/django/template/base.py", line 611, in find_filter raise TemplateSyntaxError("Invalid filter: '%s'" % filter_name) django.template.exceptions.TemplateSyntaxError: Invalid filter: 'length_is'

Downgrading Django to 5.0.7 solved it for me.

adambirds commented 3 months ago

This filter has been deprecated, the fix is mentioned here:

https://stackoverflow.com/questions/78874958/invalid-filter-length-is-error-in-django-template-how-to-fix