jrief / django-admin-sortable2

Generic drag-and-drop ordering for objects in the Django admin interface
https://django-admin-sortable2.readthedocs.io/en/latest/
Other
770 stars 181 forks source link

adminsortable2.js file is missing #393

Closed CrimeMasterGogo0814 closed 6 months ago

CrimeMasterGogo0814 commented 6 months ago

adminsortable2.js file is missing in version 2.2 causing order to not work in admin

robertvy commented 6 months ago

Same here. Django is looking for the normal js, but only the minified one is collected.

jrief commented 6 months ago

... ups

Right! With DEBUG = True the unminimized file is loaded, otherwise the minimized one.

Fixed in 2.2.1

parkan commented 5 months ago

for those looking for a solution to this, you need django>=4.2 and django-admin-sortable>=2.2.1 as it's fixed in this commit https://github.com/jrief/django-admin-sortable2/commit/5ea4352958ad85b98763f3ea889f8e91953b1c0d