Klaus Laube avatar Klaus Laube committed ebae1d7

Adicionada app de honeypot aos formulários

Comments (0)

Files changed (3)

klauslaube/requirements/base.txt

 django-tagging==0.3.1
 django-simple-contact==0.0.1
 django-simple-links==0.1.0
+django-honeypot==0.3.0
 textile==2.1.5
 wsgiref==0.1.2
 

klauslaube/requirements/development.txt

 django-debug-toolbar==0.9.1
 pep8==0.6.1
 django-appconf==0.5
-django-debug-toolbar==0.9.1
 pycrypto==2.5
 ssh==1.7.13

klauslaube/templates/comments/form.html

         </p>
     {% endwith %}
 
-    {% with field=form.honeypot %}
-        <p>
-            {{ field.label_tag }}
-
-            {{ field }}
-
-            {% if field.help_text %}
-                <small class="help-text">{{ field.help_text }}</small>
-            {% endif %}
-
-            {{ field.errors }}
-        </p>
-    {% endwith %}
-
     <p>
         <input type="submit" name="submit" value="{% trans "Enviar" %}" class="button">
     </p>
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.