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

0.7.7

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

Uploaded Source

File details

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

File metadata

  • Download URL: django-admin-sortable2-0.7.7.tar.gz
  • Upload date:
  • Size: 54.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.1.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.7.6

File hashes

Hashes for django-admin-sortable2-0.7.7.tar.gz
Algorithm Hash digest
SHA256 65c8a02300e178b4a02c904b6f4dce6e528c58f5ecab3907dfba3540da51b862
MD5 3a301f71a5f2fa48847aa18c27bc3b18
BLAKE2b-256 ec094f8ef13e609607e2f60eed0975d937bdd976cd2aa662fb703078737aba23

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