common-tags

Common templatetags provides for Django


Keywords
django, common, templatetags, common-tags, django-templates, django-templatetags
License
MIT
Install
pip install common-tags==1.0.0

Documentation

common-tags pypi version

https://img.shields.io/badge/license-MIT-blue.svg?style=flat-square https://img.shields.io/pypi/pyversions/common-tags.svg?style=flat-square https://img.shields.io/badge/Django-1.8,%201.9,%201.10-green.svg?style=flat-square

Common templatetags provides for Django.

Installation

Common Tags is available directly from PyPI:

  1. Installing the package.
$ pip install common-tags
  1. Don't forget to add 'common' to your 'INSTALLED_APPS' setting (without migrations).
# settings.py
INSTALLED_APPS = [
    ....
    'common',
]

Usage in template

{% load common_tags %}

For complete usage, see common/templatetags/common_tags.py

Contributing

Feel free to open a bug or contribute to code !