# Path: dju_common/gravatar.py
# def get_ava_url(email, size=None):
# def get_profile_url(email):


from django import template
from dju_common import gravatar
from __future__ import absolute_import


register = template.Library()


@register.filter
def gravatar_ava_url(email, size=None):
    return gravatar.get_ava_url(email, size=size)


@register.filter
def gravatar_profile_url(value):

# Path: dju_common/gravatar.py
# def get_ava_url(email, size=None):
# def get_profile_url(email):


# Path: dju_common/templatetags/dju_gravatar.py
from django import template
from dju_common import gravatar

from __future__ import absolute_import


register = template.Library()


@register.filter
def gravatar_ava_url(email, size=None):
    return gravatar.get_ava_url(email, size=size)


@register.filter
def gravatar_profile_url(value):

    return gravatar.get_profile_url(value)