From: Radek Czajka Date: Fri, 9 Aug 2013 12:38:25 +0000 (+0200) Subject: add URL X-Git-Tag: 0.1 X-Git-Url: https://git.mdrn.pl/django-libravatar.git/commitdiff_plain/HEAD add URL --- diff --git a/Changelog.txt b/Changelog.txt index 54f7c75..c7e6818 100644 --- a/Changelog.txt +++ b/Changelog.txt @@ -1,3 +1,3 @@ -1.0 (2013-08-09) - - Initial release +0.1 (2013-08-09) + - Initial release diff --git a/django_libravatar/templatetags/libravatar_tags.py b/django_libravatar/templatetags/libravatar_tags.py index 34d5446..7702a3f 100644 --- a/django_libravatar/templatetags/libravatar_tags.py +++ b/django_libravatar/templatetags/libravatar_tags.py @@ -12,7 +12,7 @@ register = template.Library() @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: diff --git a/setup.py b/setup.py index 246cd21..1462d5a 100755 --- a/setup.py +++ b/setup.py @@ -15,7 +15,7 @@ setup( 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',