Common templatetags provides for Django.
Common Tags is available directly from PyPI:
- Installing the package.
$ pip install common-tags
- Don't forget to add
'common'to your'INSTALLED_APPS'setting (without migrations).
# settings.py
INSTALLED_APPS = [
....
'common',
]
{% load common_tags %}
For complete usage, see common/templatetags/common_tags.py
Feel free to open a bug or contribute to code !