From 2eb49192f504dbabdfef9614f93fdc97cc9e6365 Mon Sep 17 00:00:00 2001 From: Jan Szejko Date: Wed, 5 Apr 2017 09:36:12 +0200 Subject: [PATCH 1/1] fix for django 1.10 (= in template) --- migdal/templates/comments/form.html | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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', -- 2.20.1