etc/templatetags/gravatar.py
def gravatar_get_url(obj, size=65, default='identicon'):
    """Returns Gravatar image URL for a given string or UserModel.

    Example:

        {% load gravatar %}
        {% gravatar_get_url user_model %}

    :param UserModel, str obj:
    :param int size:
    :param str default:
    :return:
    """
    return get_gravatar_url(obj, size=size, default=default)
def gravatar_get_url(obj, size=65, default='identicon'):
    return get_gravatar_url(obj, size=size, default=default)
def gravatar_get_url ( obj , size = 65 , default = 'identicon' ) : return get_gravatar_url ( obj , size = size , default = default )
Returns Gravatar image URL for a given string or UserModel.

    Example:

        {% load gravatar %}
        {% gravatar_get_url user_model %}

    :param UserModel, str obj:
    :param int size:
    :param str default:
    :return:
Returns Gravatar image URL for a given string or UserModel .