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

This Django package adds functionality for generic drag-and-drop ordering of items in the List, the Stacked- and the Tabular-Inlines Views of the Django Admin interface.

Build Status PyPI version Python versions Django versions Downloads Software license

Check the demo:

Demo

This library offers simple mixin classes which enrich the functionality of any existing class inheriting from admin.ModelAdmin, admin.StackedInline or admin.TabularInline.

It thus 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.

Version 2.0

This is a major rewrite of this django-admin-sortable2. It replaces the client side part against Sortable.JS and thus the need for jQuery.

Replacing that library allowed me to add a new feature: Multiple items can now be dragged and dropped together.

Project's Home

https://github.com/jrief/django-admin-sortable2

Detailled documentation can be found on ReadTheDocs.

To ask questions or reporting bugs, please read the contributor's guide.

License

Licensed under the terms of the MIT license.

Copyright © 2013-2022 Jacob Rief and contributors.

Please follow me on Twitter Follow for updates and other news.

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

django-admin-sortable2-2.0rc0.tar.gz (58.3 kB view details)

Uploaded Source

Built Distribution

django_admin_sortable2-2.0rc0-py3-none-any.whl (67.8 kB view details)

Uploaded Python 3

File details

Details for the file django-admin-sortable2-2.0rc0.tar.gz.

File metadata

  • Download URL: django-admin-sortable2-2.0rc0.tar.gz
  • Upload date:
  • Size: 58.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.1 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.12

File hashes

Hashes for django-admin-sortable2-2.0rc0.tar.gz
Algorithm Hash digest
SHA256 5a6a1f3aeb48f362f6caf44630905c7267af199370c8aaea10f127375b04bd93
MD5 c3229f6136548472b631917604268ff2
BLAKE2b-256 f29777ada12dd208268da46c23a779897a05ddf61f0c5e436712bd69d8031194

See more details on using hashes here.

File details

Details for the file django_admin_sortable2-2.0rc0-py3-none-any.whl.

File metadata

  • Download URL: django_admin_sortable2-2.0rc0-py3-none-any.whl
  • Upload date:
  • Size: 67.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.1 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.12

File hashes

Hashes for django_admin_sortable2-2.0rc0-py3-none-any.whl
Algorithm Hash digest
SHA256 74bbd47484a743937315598110e095ad9b2579f7febac77fd747f2d01d5cb642
MD5 823b79a7962ac52ff95625eee746fb8d
BLAKE2b-256 9e39f7d760bfd90a58dc36490ff58aa1a796e1e5ff41a56eb7c9ba8159bfc645

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