Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Docs update.

  • Loading branch information...
commit 8925022aef9eab22da7cc89c629cfe97a344e7d9 1 parent 4b051d7
@zsiciarz authored
Showing with 7 additions and 3 deletions.
  1. +5 −0 docs/reference.rst
  2. +2 −3 envelope/spam_filters.py
View
5 docs/reference.rst
@@ -14,3 +14,8 @@ Forms
.. automodule:: envelope.forms
:members:
+Spam filters
+============
+
+.. automodule:: envelope.spam_filters
+ :members:
View
5 envelope/spam_filters.py
@@ -1,7 +1,7 @@
# -*- coding: utf-8 -*-
u"""
-Spam filters - functions that reject the message if it is considered spam.
+Functions that reject the message if it is considered spam.
"""
from honeypot.decorators import verify_honeypot_value
@@ -9,7 +9,6 @@
def check_honeypot(request, form):
u"""
- ``verify_honeypot_value`` returns ``None`` when everything is OK.
+ Make sure that the hidden form field is empty, using django-honeypot.
"""
return verify_honeypot_value(request, '') is None
-
Please sign in to comment.
Something went wrong with that request. Please try again.