Skip to main content

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 PyPI version Python versions Django versions Downloads Software license

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.

Demo

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.

Twitter Follow

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

django-admin-sortable2-1.0.1.tar.gz (56.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

django_admin_sortable2-1.0.1-py3-none-any.whl (74.1 kB view details)

Uploaded Python 3

File details

Details for the file django-admin-sortable2-1.0.1.tar.gz.

File metadata

  • Download URL: django-admin-sortable2-1.0.1.tar.gz
  • Upload date:
  • Size: 56.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.8.12

File hashes

Hashes for django-admin-sortable2-1.0.1.tar.gz
Algorithm Hash digest
SHA256 302768cfd8ea2d807d0f1de1b44eaa2703d22dbe2f6420efe974610e28801d76
MD5 4f6212f207cbc1864993a68b60d479af
BLAKE2b-256 9801e59c94b135b0e60b974943db81cf7647e18ec3cb6c8d613496e5b6c10405

See more details on using hashes here.

File details

Details for the file django_admin_sortable2-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: django_admin_sortable2-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 74.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.8.12

File hashes

Hashes for django_admin_sortable2-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 eedffeab3f6c670986ece8fde4b8ffb86524753560b4d106cdc1c0c15f89798d
MD5 c50008271377b9fcd03e084cd81b45a5
BLAKE2b-256 4fe5f407a632651b81e463ed0243f458126976fc8fcd06619189c9911f19a805

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page