Question

Pinax, no longer offers gravatars by default, and to make it even worse, the django-gravatar project is gone.

So how to use gravatars in pinax?

Was it helpful?

Solution

You can use the maintained fork. But really it shouldn't be hard to make a template tag that returns a gravatar url for an email address anyway.

OTHER TIPS

Or you can use gravtr using Pip: pip install gravtr

from gravtr import Gravtr
     gravtr = Gravtr("gfabricio@tests.com")
     gravtr.generate()
'http://www.gravatar.com/avatar/1c0d59fd98fb89ba3a4f3ea950d31e1e'
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top