Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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

git-svn-id: http://code.djangoproject.com/svn/django/trunk@1776 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit a180f638bbacb7fc9109307ca4a3e3770eabbcea 1 parent b28e5e4
Adrian Holovaty authored December 24, 2005

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  docs/forms.txt
2  docs/forms.txt
@@ -424,7 +424,7 @@ your own couldn't be easier::
424 424
 
425 425
         def isValidToAddress(self, field_data, all_data):
426 426
             if not field_data.endswith("@example.com"):
427  
-                raise ValidationError("You can only send messages to example.com e-mail addresses.")
  427
+                raise validators.ValidationError("You can only send messages to example.com e-mail addresses.")
428 428
 
429 429
 Above, we've added a "to" field to the contact form, but required that the "to"
430 430
 address end with "@example.com" by adding the ``isValidToAddress`` validator to

0 notes on commit a180f63

Please sign in to comment.
Something went wrong with that request. Please try again.