This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Easy to use Gravatar template tags for Django

Project Description

Easy to use template tags for Gravatar support in Django.

Installation

django-gravatar-tags is available on PyPI. Execute the following command in your terminal to install the package:

pip install django-gravatar-tags

Usage

Add django_gravatar_tags to your INSTALLED_APPS:

INSTALLED_APPS = (
    ...,
    django_gravatar_tags
)

Then load the gravatar library in your templates before using any of the gravatar or gravatar_url tags.

{% load gravatar %}

{# Returns a gravatar img-element for the given email address #}
{% gravatar <email-address> [size] [rating] [default] [force_default] [css_class] [alt] %}

{# Returns the gravatar url for a given email address #}
{% gravatar_url <email-address> [size] [rating] [default] [force_default] %}

Python/Django Compatibility

django-gravatar-tags is tested and supported on the following Python and Django versions:

  • Python 2.6: Django 1.4, 1.5, 1.6
  • Python 2.7: Django 1.4, 1.5, 1.6, 1.7
  • Python 3.2, 3.3, 3.4: Django 1.5, 1.6, 1.7
Release History

Release History

This version
History Node

1.0.0

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
django-gravatar-tags-1.0.0.tar.gz (3.5 kB) Copy SHA256 Checksum SHA256 Source Dec 16, 2014

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting