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.

Before reporting bugs or asking questions, 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.2.4.tar.gz (68.2 kB view details)

Uploaded Source

Built Distribution

django_admin_sortable2-2.2.4-py3-none-any.whl (90.8 kB view details)

Uploaded Python 3

File details

Details for the file django_admin_sortable2-2.2.4.tar.gz.

File metadata

File hashes

Hashes for django_admin_sortable2-2.2.4.tar.gz
Algorithm Hash digest
SHA256 155e6114c7a931bceed9513af014f782ff1e643d99e81ddfef934f1daecd669d
MD5 a225d884c379e35abd9e01fa9c331a96
BLAKE2b-256 eea10651ad69906f9ec9e73897353e933611550c6d31bfa9f721319c0ed99108

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for django_admin_sortable2-2.2.4-py3-none-any.whl
Algorithm Hash digest
SHA256 406c5b6d6e84ad982cc6e53c3f34b5db5f0a3f34891126af90c9fb2c372f53d5
MD5 12fd5595a6c72a2850825c1def79596f
BLAKE2b-256 66c3e804b1f04546c1060e566f35177c346590820a95bfb981d1f6360b419437

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