@register.filter()
def gravatar(email, size=64):
    return '//gravatar.com/avatar/%s?d=identicon&size=%s' % (
        md5(smart_bytes(email)).hexdigest(),
        size,
    )
Return the Gravatar URL for the provided email.
dataset/ETHPy150Open 2buntu/2buntu-blog/twobuntu/accounts/templatetags/gravatar.py/gravatar