Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed #1111 -- Fixed bug in docs/forms.txt. Thanks, afarhham

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit a180f638bbacb7fc9109307ca4a3e3770eabbcea 1 parent b28e5e4
@adrianholovaty adrianholovaty authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  docs/forms.txt
2  docs/forms.txt
@@ -424,7 +424,7 @@ your own couldn't be easier::
def isValidToAddress(self, field_data, all_data):
if not field_data.endswith(""):
- raise ValidationError("You can only send messages to e-mail addresses.")
+ raise validators.ValidationError("You can only send messages to e-mail addresses.")
Above, we've added a "to" field to the contact form, but required that the "to"
address end with "" by adding the ``isValidToAddress`` validator to
Please sign in to comment.
Something went wrong with that request. Please try again.