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.
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.
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
MIT licensed.
Copyright © 2013-2021 Jacob Rief and contributors.
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
Built Distribution
File details
Details for the file django-admin-sortable2-1.0.4.tar.gz
.
File metadata
- Download URL: django-admin-sortable2-1.0.4.tar.gz
- Upload date:
- Size: 56.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f96044003176c6684c5f969792ca833a505d654fa0f7b24232a0a610e4332a53 |
|
MD5 | a3525b54351f707757a66393e613ff11 |
|
BLAKE2b-256 | 06baa6ce8d725254d75a6608843b7ae0a18406b8479ad9d53eafc7f53a2e255f |
File details
Details for the file django_admin_sortable2-1.0.4-py3-none-any.whl
.
File metadata
- Download URL: django_admin_sortable2-1.0.4-py3-none-any.whl
- Upload date:
- Size: 74.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e22956889533b48a35a7f02859ae3a939753fa9a7d7d532cefc2835b41bdcebb |
|
MD5 | fd3709093bc85c8ae0dc2aa27ed1e483 |
|
BLAKE2b-256 | 3c967ccf1c526b493311218dea517a1a804e2ae87eac228d7433462c16e4c6bc |