django-admin-sortable2
django-admin-sortable2 copied to clipboard
Generic drag-and-drop ordering for objects in the Django admin interface
I have submitted a pull request to add support for GenericStackedInline / GenericTabularInline with SortableGenericInlineAdminMixin.
How to hide sortable column if change permissions missing?
Drag and drop ordering works great on desktop, but does not work on mobile at all. I'm running Django 3.0.8. I looked at your source code and see jquery.ui.touch-punch-0.2.3.js. Was...
I have an app that fails to render the Sort div/cell for me to click and drag. project settings **init**: `INSTALLED_APPS = [ ``` 'django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'adminsortable2', 'django.contrib.sessions', 'django.contrib.messages',...
We just discovered that in versions 0.7.1 and up, using SortableInlineAdminMixin kills the last item of the inline. Specifically, it add the final item to the empty row instead of...
Before I go digging into the details of this, do you think it would be technically possible to move the script element and the default_order_field div inside the main inline-group...
It would be nice if django-admin-sortable2 checked for `order_with_respect_to`. If it's enabled, repositioning queries could only update a subset of queryset (all records with the same value in `order_with_respect_to` field...
Hello, I have this error trying to use django-admin-sortable2 with GenericTabularInline ``` AttributeError at /admin/news/news/1/change/ type object 'ImageFormFormSet' has no attribute 'fk' Request Method: GET Request URL: http://localhost:8000/admin/news/news/1/change/ Django Version:...
Using latest release (0.6.19) on Django 1.11.6 and Python 3.6, if we include our order field in the list_display member, the result is that the column is displayed twice, once...
I have a model with a year field, and an order field. The idea is to use the order number only when the years are the same, and thus `ordering...