Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

A simple Django templatetag to renders a sortable column to support sorting in tables.

Project Description
=====
Sortable Column
=====

Sortable Column is a simple Django templatetag to renders a sortable column to
support sorting in tables.

Detailed documentation on GitHub (https://github.com/weynelucas/django-sortable-column)

Quick start
-----------

1. Add "sortable_column" to your INSTALLED_APPS setting like this:

INSTALLED_APPS = [
...
'sortable_column',
]

2. Include the following snippet at the top of any template that makes use of
the sortable column tags:

{% load sortable_column %}

3. Use sortable_column tag on your template to render th tags for support the sorting
in tables:

{% sortable_column request=request property="title" title="Title" %}

4. Handle 'sort' and 'order' parameters generated by sortable_column tag in your view function
for sorting your dataset.
Release History

Release History

This version
History Node

0.2.2

History Node

0.1.1

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
django-sortable-column-0.2.2.zip (8.5 kB) Copy SHA256 Checksum SHA256 Source Oct 28, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting