Skip to main content

Generic drag-and-drop ordering for objects in the Django admin interface

Project description

A replacement for django-admin-sortable using an unintrusive approach.

This plugin is a generic drag-and-drop ordering module for sorting objects in the list view of the Django admin interface. It offers simple mixin classes which enrich the functionality of any existing class derived from admin.ModelAdmin, admin.StackedInline or admin.TabluarInline. Thus it makes it very easy to integrate with existing models and their model admin interfaces.

NEW in version 0.3.1

Fixed issue #25 and another small bug.

Project’s home

https://github.com/jrief/django-admin-sortable2.

Detailled documentation on ReadTheDocs.

To ask questions or reporting bugs, please use the issue tracker.

Build status

Build Status

Why should You use it?

All available plugins which add functionality to make list views for the Django admin interface sortable, offer a base class to be used instead of models.Model. This abstract base class then contains a hard coded position field, additional methods, and meta directives.

This inhibits to create sortable abstract models. django-admin-sortable2 does not have these restrictions.

License

Copyright © 2014 Jacob Rief.

Licensed under the MIT license.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for django-admin-sortable2, version 0.3.2
Filename, size File type Python version Upload date Hashes
Filename, size django-admin-sortable2-0.3.2.tar.gz (43.2 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page