Skip to content

agusmakmun/common-tags

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 !