fix for django 1.10 (= in template) 0.7.1
authorJan Szejko <janek37@gmail.com>
Wed, 5 Apr 2017 07:36:12 +0000 (09:36 +0200)
committerJan Szejko <janek37@gmail.com>
Wed, 5 Apr 2017 07:36:12 +0000 (09:36 +0200)
migdal/templates/comments/form.html
setup.py

index cd51760..896c041 100644 (file)
@@ -12,7 +12,7 @@
   {% for field in form %}
     {% if not field.is_hidden %}
       <tr
   {% for field in form %}
     {% if not field.is_hidden %}
       <tr
-        {% if field.name = "honeypot" %} style="display:none;"{% endif %}>
+        {% if field.name == "honeypot" %} style="display:none;"{% endif %}>
         <th>{{ field.label_tag }}
       </th><td>
         {% if field.errors %}<p class="error">{{ field.errors }}</p>{% endif %}
         <th>{{ field.label_tag }}
       </th><td>
         {% if field.errors %}<p class="error">{{ field.errors }}</p>{% endif %}
index 32df780..2cfd680 100755 (executable)
--- a/setup.py
+++ b/setup.py
@@ -23,7 +23,7 @@ def whole_trees(package_dir, paths):
 
 setup(
     name='django-migdal',
 
 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',
     author='Radek Czajka',
     author_email='radoslaw.czajka@nowoczesnapolska.org.pl',
     maintainer='Jan Szejko',