=====
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.
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 files for django-sortable-column 0.2.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| django-sortable-column-0.2.2.zip | 8.5 kB | Details |
Release files / django-sortable-column-0.2.2.zip
| Download URL | django-sortable-column-0.2.2.zip |
|---|---|
| Size | 8.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d0301d6c447707b36519b7bd4d1acb205b9fbaaaec0cc606a03b4307cd1c4ce6
|
|
BLAKE2b-256 checksum How to use checksums |
8b07ffe720a8d02fe5d0fd2e50a0e1878c686fe2f810c760f6bf66b209cec4ca
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |