From fc33b8e953969182b9441d6a0ba2e9df0f882f03 Mon Sep 17 00:00:00 2001 From: Karen Tracey Date: Thu, 17 Jun 2010 18:29:27 +0000 Subject: [PATCH] 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 --- docs/ref/models/instances.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/ref/models/instances.txt b/docs/ref/models/instances.txt index 7e6cdeb5c7..dd14dd1ce7 100644 --- a/docs/ref/models/instances.txt +++ b/docs/ref/models/instances.txt @@ -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 try: - article.full_clean(): + article.full_clean() except ValidationError, e: non_field_errors = e.message_dict[NON_FIELD_ERRORS]