Skip to main content
https://badge.fury.io/py/django_resort.png https://travis-ci.org/alixedi/django_resort.png?branch=master https://pypip.in/d/django_resort/badge.png

Implement sorting for ListView columns without changing your views.

Installation

Get it from the cheeseshop:

pip install django_resort

Usage

Read on:

  1. Include django_resort in your INSTALLED_APPS settings.

  2. Load the tags:

    {% load resort %}
  3. Jut before the for loop iterating through the object_list, include:

    {% auto_sort object_list %}
    {% for object in object_list %}
  4. In your table header:

    <th>{% sort_link field.verbose_name|title field.name %}</th>

Credits

This project is primarily based upon django-sorting which it seems is no longer actively maintained as I could not get it to install using pip.

History

0.1.0 (2013-12-3)

  • First release on PyPI.

Metadata

Release files for django_resort 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django_resort 0.1.0
File Size Uploaded Provenance
django_resort-0.1.0.tar.gz 6.1 kB Without provenance Details

Release files / django_resort-0.1.0.tar.gz

Download URL django_resort-0.1.0.tar.gz
Size 6.1 kB
Tags Source
SHA-256 checksum
How to use checksums
f367827f3d75ca781fa1ad2ebc2b9c26a43e8185aee821fbe598b8755124445c
BLAKE2b-256 checksum
How to use checksums
dbcd2f6bef16d3eeeaf2d9169c1d9cf9ba32c467a83fa2c904d0c01f36a7f62b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for django_resort 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page