Generic drag-and-drop sorting for the List, the Stacked- and the Tabular-Inlines Views in the Django Admin
Project description
# django-admin-sortable2
A replacement for django-admin-sortable using an unintrusive approach.
[![Build Status](https://travis-ci.org/jrief/django-admin-sortable2.svg?branch=master)](https://travis-ci.org/jrief/django-admin-sortable2) [![PyPI version](https://img.shields.io/pypi/v/django-admin-sortable2.svg)](https://pypi-hypernode.com/pypi/django-admin-sortable2) [![Python versions](https://img.shields.io/pypi/pyversions/django-admin-sortable2.svg)](https://pypi-hypernode.com/pypi/django-admin-sortable2) [![Software license](https://img.shields.io/pypi/l/django-admin-sortable2.svg)](https://github.com/jrief/django-admin-sortable2/blob/master/LICENSE-MIT) [![Twitter Follow](https://img.shields.io/twitter/follow/jacobrief.svg?style=social&label=Jacob+Rief)](https://twitter.com/jacobrief)
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](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).
## 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 © 2018 Jacob Rief and contributors.
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.21.tar.gz
.
File metadata
- Download URL: django-admin-sortable2-0.6.21.tar.gz
- Upload date:
- Size: 50.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: Python-urllib/3.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | efdac4efe65e5f3a13ab67d43a2b4691db75bb5c497b3fd3e83cac296d778e33 |
|
MD5 | 49883d35bfa62bb3295e7d2685336250 |
|
BLAKE2b-256 | af63e47f013f72d62f9ee6a327a47fc3492b0fd49378ca07ec802edc99b67535 |