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 Downloads Software license Twitter Follow

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

Copyright © 2019 Jacob Rief and contributors.

MIT licensed.

Release history Release notifications | RSS feed

This version

1.0

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.tar.gz (56.9 kB view details)

Uploaded Source

Built Distribution

django_admin_sortable2-1.0-py3-none-any.whl (74.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: django-admin-sortable2-1.0.tar.gz
  • Upload date:
  • Size: 56.9 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

Hashes for django-admin-sortable2-1.0.tar.gz
Algorithm Hash digest
SHA256 e62624f5c8ea66d8564205abf2e4a46d862ee62f87103571004623b51d0e4ced
MD5 eadfe63d9e6cacd73fb2430556d5c490
BLAKE2b-256 a08f13ac97819ee8a5372092da8dd639d47a7c732c0d8741495a2ee6d1e49cf2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: django_admin_sortable2-1.0-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

Hashes for django_admin_sortable2-1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0a90bc3210d215fdb0696705c0f2705f8417d6f07d47cc24de71ee57061508e9
MD5 25e100fe1ebd5a8f2ed4f64bcdd5a420
BLAKE2b-256 a1e8e4df01d0a5fb749d0bb0189d083c2756a7882d87a60e13a20518df18450c

See more details on using hashes here.

Supported by

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