Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 

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 !