Skip to content
Common templatetags provides for Django
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
common
.gitignore
LICENSE
README.rst
setup.cfg
setup.py

README.rst

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 !

You can’t perform that action at this time.