Skip to content

thoas/django-gravatar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Django Gravatar

A templatetag for Django to get Gravatar URL's from email addresses.

With experimental local caching support on the cache-branch.

Usage

{% get_gravatar_for_email <email-address> [size] [rating] %}

Example

{% get_gravatar_for_email joe@example.com 48 r %}

Differences from http://github.com/thoas/django-gravatar:

Added method returns URL string for gravatar image.
Not only for template tag, also can be used as simple function for importing
This function also supported not global default images

About

Templatetag to get Gravatar URL's from email addresses

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages