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.8.0.tar.gz (8.1 kB view details)

Uploaded Source

Built Distribution

django_sorting_bootstrap-2.8.0-py3-none-any.whl (9.1 kB view details)

Uploaded Python 3

File details

Details for the file django-sorting-bootstrap-2.8.0.tar.gz.

File metadata

  • Download URL: django-sorting-bootstrap-2.8.0.tar.gz
  • Upload date:
  • Size: 8.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for django-sorting-bootstrap-2.8.0.tar.gz
Algorithm Hash digest
SHA256 df1647c7523fd29848f6ddd613b7342eb84a0cb9d780e8cd5ea672436b003675
MD5 1590491b3d99ab1f00436bae82a97805
BLAKE2b-256 f91a6d916577f98f25e1cfc2555587afdc344fd23ba7d72d983974a08a8a19d1

See more details on using hashes here.

File details

Details for the file django_sorting_bootstrap-2.8.0-py3-none-any.whl.

File metadata

  • Download URL: django_sorting_bootstrap-2.8.0-py3-none-any.whl
  • Upload date:
  • Size: 9.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for django_sorting_bootstrap-2.8.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4a42dd9b75d58c5fb095b19f8d3dfb2e7583ac50134ce8f35cf9eba42927d0b2
MD5 dfc72b8226c1c40ef98f724dfebf89ec
BLAKE2b-256 78c3c0a0feba752915fee713ad79f84e181934e34489f666a518b3669bbbbafd

See more details on using hashes here.

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