Generic drag-and-drop sorting for the List, the Stacked- and the Tabular-Inlines Views in the Django Admin
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, 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.
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
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 © 2017 Jacob Rief.
MIT licensed.
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
File details
Details for the file django-admin-sortable2-0.6.12.tar.gz
.
File metadata
- Download URL: django-admin-sortable2-0.6.12.tar.gz
- Upload date:
- Size: 49.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a4a1dbff7f85c3d6e181f6981305c1ef32d1c9f7e65eed7ccb6c68069676b735 |
|
MD5 | 30165ad416f187d5d98663afff3cdb28 |
|
BLAKE2b-256 | 90c7d2e2bf4e947c9cadba7a33c48fc3199b6796c82820fdef3600d2b0282586 |