django-template-helpers¶
django-template-helpers provides template tags to add missing features to the Django template language.
Features¶
- Template tag to set a new context variable
set
- Template filter to split a string into a list
split
- Context processor to expose selected settings to the templates
- GenericTemplateView for static pages
Requirements¶
django-template-helpers supports Python 3 only and requires at least Django 1.11.
Prepare for development¶
A Python 3.6 interpreter is required in addition to pipenv.
$ pipenv install --python 3.6 --dev
$ pipenv shell
$ pip install -e .
Now you’re ready to run the tests:
$ pipenv run py.test