Skip to main content

Orderable change lists and inlines done right^Wsimple

Project description

https://travis-ci.org/matthiask/django-admin-ordering.svg?branch=master

Steps

  1. Install django-admin-ordering and add admin_ordering to INSTALLED_APPS.

  2. Inherit admin_ordering.admin.OrderableAdmin and set ordering_field to a field name of the ordering integer field. Also set fk_name to the parent foreign key if you want orderable inlines.

  3. Ensure that the field is displayed in the change form if you define fieldsets yourself, or is contained in list_editable for change lists.

  4. Report any bugs you find (patches welcome)!

Project details


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-ordering-0.1.1.tar.gz (16.5 kB view details)

Uploaded Source

File details

Details for the file django-admin-ordering-0.1.1.tar.gz.

File metadata

File hashes

Hashes for django-admin-ordering-0.1.1.tar.gz
Algorithm Hash digest
SHA256 ece5e9e9661107d8c7415361e9906d05f7c37d56ed65b496cb6ff640455434b5
MD5 7574e5bcd20db2215eb7af718bef35ee
BLAKE2b-256 74668ff40ba36c9a799e082adc0f7b5ca02237063b043dd8cdf88efa18828cf9

See more details on using hashes here.

Supported by

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