django-admin-sortable2 travis-ci python

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

3 years after


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, the Stacked- and the Tabular-Inlines Views in the Django Admin interface.

This module offers simple mixin classes which enrich the functionality of any existing class derived from admin.ModelAdmin, admin.StackedInline or admin.TabularInline.

Thus it makes it very easy to integrate with existing models and their model admin interfaces. Existing models can inherit from models.Model or any other class derived thereof. No special base class is required.

News in Version 0.6.4

  • Drop support for Django-1.7 and lower.
  • Feature request #107: Overidable SortableAdminMixin.get_max_order(request, obj)

    Fixed #100: actions = none breaks functionality

  • Fixed #98: js error in admin
  • Fixed #55: TabularInline template THEAD colspan=2 broken
  • Fixed #82: SortableInlineAdminMixin screws up TabularInline colums
  • Fixed #104: Key 'order' not found

Many thanks to @rubengrill for fixing them!

Project's home

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.


Copyright © 2016 Jacob Rief.

MIT licensed.

Related Repositories



Disclaimr - Mail Disclaimer Server ...



A static page Django app that allows grouping pages and custom templates. ...

Top Contributors

jrief teddybeermaniac mkoistinen tino yakky bogdal mariuszjamro coredumperror rubengrill Ritmix3300 nicholasserra richardbarran Zowie julienp arogachev alamasfu10 DemonVex Evolter trawick jonasvp max-pfeiffer RaidoS BergSoft dirigeant vfigueiro djb15 theduke


-   0.6.4 zip tar
-   0.6.3 zip tar
-   0.6.2 zip tar
-   0.6.1 zip tar
-   0.6.0 zip tar
-   0.5.2 zip tar
-   0.5.1 zip tar
-   0.5.0 zip tar
-   0.3.3 zip tar
-   0.3.2 zip tar
-   0.3.1 zip tar
-   0.3.0 zip tar
-   0.2.7 zip tar
-   0.2.6 zip tar
-   0.2.5 zip tar
-   0.2.3 zip tar
-   0.2.2 zip tar
-   0.2.1 zip tar
-   0.2.0 zip tar
-   0.1.2 zip tar
-   0.1.1 zip tar
-   0.1.0 zip tar