mbraak / django-mptt-admin

Django-mptt-admin provides a nice Django Admin interface for Mptt models
https://mbraak.github.io/django-mptt-admin/
Other
294 stars 47 forks source link

django-mptt-admin no longer works in Django 3.2 since 6736363ff399cdd93679ca96b6e8512f63962ee6 #541

Closed scottp-dpaw closed 6 months ago

scottp-dpaw commented 6 months ago

The change_list template adds a reference to {% static 'admin/js/filters.js' %}, which is a file I believe was only added in Django 4.1 - https://github.com/django/django/commit/27aa7035f57f0db30b6632e4274e18b430906799

mbraak commented 6 months ago

I'll have a look

mbraak commented 6 months ago

Work in progress in #542

mbraak commented 6 months ago

This is fixed in pull request #542. I plan to merge the fix this week.

mbraak commented 6 months ago

In the title you mention that django-mptt-admin no longer works, but I couldn't reproduce that when testing in Django 3.2. I only saw that the filters.js couldn't be loaded in the console. The pr fixes that.

mbraak commented 6 months ago

The pr is merged. I plan to release a new version soon.

mbraak commented 6 months ago

This is fixed in version 2.6.2