Fixed #13778: Removed a stray colon in a code example. Thanks canassa.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@13355 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Karen Tracey 2010-06-17 18:29:27 +00:00
parent ab908685fb
commit fc33b8e953
1 changed files with 1 additions and 1 deletions

View File

@ -109,7 +109,7 @@ of to a specific field. You can access these errors with ``NON_FIELD_ERRORS``::
from django.core.validators import ValidationError, NON_FIELD_ERRORS from django.core.validators import ValidationError, NON_FIELD_ERRORS
try: try:
article.full_clean(): article.full_clean()
except ValidationError, e: except ValidationError, e:
non_field_errors = e.message_dict[NON_FIELD_ERRORS] non_field_errors = e.message_dict[NON_FIELD_ERRORS]