@register.simple_tag(takes_context=True)
def libravatar(context, email, size=None):
https = context['request'].is_secure()
- default = LIBRAVATAR_DEFAULT_HTTPS if https else LIBRAVATAR_DEFAULT_HTTP
+ default = LIBRAVATAR_DEFAULT_HTTPS if https else LIBRAVATAR_DEFAULT
if hasattr(default, '__call__'):
default = default(size)
if not email:
version=__version__,
author='Radek Czajka',
author_email='radekczajka@nowoczesnapolska.org.pl',
- url = '',
+ url = 'http://git.nowoczesnapolska.org.pl/?p=django-libravatar.git',
packages=find_packages(),
include_package_data=True,
license='GNU AGPL 3.0',