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

This version

2.1

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

Uploaded Source

Built Distribution

django_admin_sortable2-2.1-py3-none-any.whl (119.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: django-admin-sortable2-2.1.tar.gz
  • Upload date:
  • Size: 106.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.13

File hashes

Hashes for django-admin-sortable2-2.1.tar.gz
Algorithm Hash digest
SHA256 106f791a933a7b7f9812881e23fa23e3afdaeb213a17f82beafc491c28195b21
MD5 b73128514ac197d4fe5df270c93eb3f2
BLAKE2b-256 d84671a44b8fa7b8390766279455f603881356938cd186ee4be606fd3296f3e0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for django_admin_sortable2-2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8d02e9d36034125ae94c7072944960657b8d0160fffd0981dedbb8a5a74e82f2
MD5 12db2de5e93d29e4d6497c24d1bb7c87
BLAKE2b-256 72b8d12c22f2d41e8cc6af64780898f5367c6c6bdc52a6d468f0af3dd3818765

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