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.3.tar.gz
.
File metadata
- Download URL: django-admin-sortable2-1.0.3.tar.gz
- Upload date:
- Size: 57.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fbc193dbb169d9e05c1325e567158e4da7568b6d121d149f6665e692fafc7857 |
|
MD5 | 31abfcc28c1cee788807c66cf76daf31 |
|
BLAKE2b-256 | d0ad6f1f52acc11224efed163d758d170833062b118ede5844829dd4e498dea4 |
File details
Details for the file django_admin_sortable2-1.0.3-py3-none-any.whl
.
File metadata
- Download URL: django_admin_sortable2-1.0.3-py3-none-any.whl
- Upload date:
- Size: 74.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 40a9942317d66db2c5cee289d284754ae3f95470143f4914afa06fb864d38fb4 |
|
MD5 | 8fe056911bd78bfb2fcdb5c13bc81047 |
|
BLAKE2b-256 | 4f8e800ca52519393f666d11f875d10d8d2d3e1c2a80f2aff97c6712a6dfcf0a |