Skip to main content

Common templatetags provides for Django

Project description

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 !

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page