Skip to content

Django template tags for easy breadcrumbs using twitter bootstrap css classes or custom template

License

Notifications You must be signed in to change notification settings

christianwgd/bootstrap-breadcrumbs

 
 

Repository files navigation

django-bootstrap-breadcrumbs

Version PyPI - Downloads Django CI run test

Documentation

https://django-bootstrap-breadcrumbs.readthedocs.org/en/latest/

Note

This is a fork of the uncontinued repo django-bootstrap-breadcrumbs by prymitive. The repository tries to keep the functionality uptodate with current versions of python and django. Support for python2, python < 3.8 and django < 3.2 was dropped. if you need to keep lower versions of python or django install the orginal version of prymitive.

Installation

pip install django-bootstrap-breadcrumbs2

Testing

Plain testing:

py.test -v --pycodestyle --cov=django_bootstrap_breadcrumbs

Included Dockerfile allows to run tests using python3 from debian jessie.

Test with the most recent django version::

docker build .

To specify django version to use for testing set the version via DJANGO arg to docker::

docker build --build-arg DJANGO===3.2.11 .

DJANGO argument will be passed to pip using pip install Django${DJANGO}, so you can pass any version string pip accepts (==version, >=version).

To make testing easier there is a Makefile provided which wraps docker commands.

Run tests agains multiple versions of Django set in Makefile::

make

To run tests against any version run::

make $VERSION

Example::

make 1.10.2

About

Django template tags for easy breadcrumbs using twitter bootstrap css classes or custom template

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 91.3%
  • HTML 5.8%
  • Dockerfile 2.3%
  • Makefile 0.6%