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.

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

Uploaded Source

Built Distribution

django_admin_sortable2-2.2.8-py3-none-any.whl (90.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: django_admin_sortable2-2.2.8.tar.gz
  • Upload date:
  • Size: 64.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.22

File hashes

Hashes for django_admin_sortable2-2.2.8.tar.gz
Algorithm Hash digest
SHA256 59dfd7ced63e66adfb471b2a4d89ba3faae49c0148827047c8cf65759fc54c9e
MD5 e209ae50a4c10ba20a37d96c29e9379b
BLAKE2b-256 d4768af26a825442fb33688c820cf79e4b769d8c4b976a2ddaa7434b96706e05

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for django_admin_sortable2-2.2.8-py3-none-any.whl
Algorithm Hash digest
SHA256 b4cf66d75450b0f89c883d94b10e6133a4e7832c5bfed1568e3e71e400dc2b48
MD5 e1bcfe5ac2f0e9381d5ac5c1d8a70ea3
BLAKE2b-256 8a977d0b28f52027f36751cec372f0eaf3a5bc1be169a141818acece40628e04

See more details on using hashes here.

Supported by

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