Skip to main content

Sorting templates API using sorting, Django templatetags and Bootstrap classes.

Project description

PyPI Python Version License

Read the documentation at https://django-sorting-bootstrap.readthedocs.io/ Tests

pre-commit Black

Features

Django Sorting Bootstrap is a pluggable mini-API to easy add sorting for querysets, links and table headers in Django templates. There is also a new tag that creates headers for sorting tables using Bootstrap’s layout.

Requirements

  • Python 3.7+

  • Django 2.0+

  • Bootstrap 3+

Installation

You can install Django Sorting Bootstrap via pip from PyPI:

$ pip install django-sorting-bootstrap

Documentation

Complete instructions on installation and usage are found in docs directory and online at https://django-sorting-bootstrap.readthedocs.io.

Contributing

Contributions are very welcome. To learn more, see the Contributor Guide.

License

Distributed under the terms of the MIT license, Django Sorting Bootstrap is free and open source software.

Credits

This app is based on Agiliq’s django-sorting 0.1. It has two improvements over it: the new tags and the Twitter Bootstrap compliance idea.

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-sorting-bootstrap-2.7.1.tar.gz (8.1 kB view hashes)

Uploaded Source

Built Distribution

django_sorting_bootstrap-2.7.1-py3-none-any.whl (9.1 kB view hashes)

Uploaded Python 3

Supported by

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