Skip to main content

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

Project description

This Django module is as a replacement for django-admin-sortable using an unintrusive approach.

It is a generic drag-and-drop ordering module for sorting objects in the list view of the Django admin interface. This plugin offers simple mixin classes which augment the functionality of any existing class derived from admin.ModelAdmin, admin.StackedInline or admin.TabluarInline. It thus 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](http://django-admin-sortable2.readthedocs.org/en/latest/).

To ask questions or reporting bugs, please use the [issue tracker](https://github.com/jrief/django-admin-sortable2/issues).

Build status

[![Build Status](https://travis-ci.org/jrief/django-admin-sortable2.png?branch=master)](https://travis-ci.org/jrief/django-admin-sortable2)

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


Release history Release notifications | RSS feed

Download files

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

Source Distribution

django-admin-sortable2-0.3.1.tar.gz (43.0 kB view details)

Uploaded Source

File details

Details for the file django-admin-sortable2-0.3.1.tar.gz.

File metadata

File hashes

Hashes for django-admin-sortable2-0.3.1.tar.gz
Algorithm Hash digest
SHA256 5c38cd13bf67e21ea5846b18d281c94b6e879d1ba94eaeaf55bc3489ca31dc43
MD5 6ac8e37e5c523ff8d84adc5ba2d28f35
BLAKE2b-256 ae6aa0485871c17a3ad4c5b747b0e8ebd85f2d1d5accbe135ca2eebbdafdad08

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page