Open tyctor opened 4 years ago
i created custom admin classes to preserve loading order, but i think there should be some standart solution for this, is there some?
class CustomTabularInline(SortableTabularInline):
class Media:
js = ('admin/js/jquery.init.js', 'suit/js/suit.sortables.js',)
class CustomGenericTabularInline(SortableGenericTabularInline):
class Media:
js = ('admin/js/jquery.init.js', 'suit/js/suit.sortables.js',)
whe i use
SortableGenericTabularInline
fromsuit/sortables.py
it loads javascript code before django's jquery.init.jsbut in your demo app it is loaded as last js file can you please advise me how to achieve this order in my app?