From: Jan Szejko Date: Wed, 5 Apr 2017 07:36:12 +0000 (+0200) Subject: fix for django 1.10 (= in template) X-Git-Tag: 0.7.1 X-Git-Url: https://git.mdrn.pl/django-migdal.git/commitdiff_plain/2eb49192f504dbabdfef9614f93fdc97cc9e6365?ds=inline;hp=05d1be6e85dc92e7be6aebb8b62221480c10540e fix for django 1.10 (= in template) --- diff --git a/migdal/templates/comments/form.html b/migdal/templates/comments/form.html index cd51760..896c041 100644 --- a/migdal/templates/comments/form.html +++ b/migdal/templates/comments/form.html @@ -12,7 +12,7 @@ {% for field in form %} {% if not field.is_hidden %} + {% if field.name == "honeypot" %} style="display:none;"{% endif %}> {{ field.label_tag }} {% if field.errors %}

{{ field.errors }}

{% endif %} diff --git a/setup.py b/setup.py index 32df780..2cfd680 100755 --- a/setup.py +++ b/setup.py @@ -23,7 +23,7 @@ def whole_trees(package_dir, paths): setup( name='django-migdal', - version='0.7.0', + version='0.7.1', author='Radek Czajka', author_email='radoslaw.czajka@nowoczesnapolska.org.pl', maintainer='Jan Szejko',