dsb
django-sorting-bootstrap
pypi i django-sorting-bootstrap
dsb

django-sorting-bootstrap

Sorting templates API using sorting-bootstrap templatetags and Bootstrap classes.

by Thiago D'Ávila

2.8.0 (see all)License:MIT
pypi i django-sorting-bootstrap
Readme

Django Sorting Bootstrap

|PyPI| |Python Version| |License|

|Read the Docs| |Tests|

|pre-commit| |Black|

.. |PyPI| image:: https://img.shields.io/pypi/v/django-sorting-bootstrap.svg :target: https://pypi.org/project/django-sorting-bootstrap/ :alt: PyPI .. |Python Version| image:: https://img.shields.io/pypi/pyversions/django-sorting-bootstrap :target: https://pypi.org/project/django-sorting-bootstrap :alt: Python Version .. |License| image:: https://img.shields.io/pypi/l/django-sorting-bootstrap :target: https://opensource.org/licenses/MIT :alt: License .. |Read the Docs| image:: https://img.shields.io/readthedocs/django-sorting-bootstrap/latest.svg?label=Read%20the%20Docs :target: https://django-sorting-bootstrap.readthedocs.io/ :alt: Read the documentation at https://django-sorting-bootstrap.readthedocs.io/ .. |Tests| image:: https://github.com/staticdev/django-sorting-bootstrap/workflows/Tests/badge.svg :target: https://github.com/staticdev/django-sorting-bootstrap/actions?workflow=Tests :alt: Tests .. |pre-commit| image:: https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit&logoColor=white :target: https://github.com/pre-commit/pre-commit :alt: pre-commit .. |Black| image:: https://img.shields.io/badge/code%20style-black-000000.svg :target: https://github.com/psf/black :alt: 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:

.. code:: console

$ 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.

.. _issue here: https://github.com/staticdev/staticdev/issues .. _Django: https://www.djangoproject.com/ .. _Bootstrap: http://getbootstrap.com/ .. _MIT: http://opensource.org/licenses/MIT .. _PyPI: https://pypi.org/ .. _pip: https://pip.pypa.io/ .. _Agiliq's django-sorting: http://github.com/agiliq/django-sorting .. github-only .. _Contributor Guide: https://django-sorting-bootstrap.readthedocs.io/en/latest/contributing.html

GitHub Stars

29

LAST COMMIT

7mos ago

MAINTAINERS

1

CONTRIBUTORS

12

OPEN ISSUES

0

OPEN PRs

10
VersionTagPublished
2.8.0
8mos ago
2.7.2
9mos ago
2.7.1
10mos ago
2.7.0
1yr ago
No alternatives found
No tutorials found
Add a tutorial