diff options
| author | Karen Tracey <kmtracey@gmail.com> | 2010-06-17 18:29:27 +0000 |
|---|---|---|
| committer | Karen Tracey <kmtracey@gmail.com> | 2010-06-17 18:29:27 +0000 |
| commit | fc33b8e953969182b9441d6a0ba2e9df0f882f03 (patch) | |
| tree | 19c226aa61eac6b833537874a1a6db418cb22d6f /docs | |
| parent | ab908685fb7dea7395eb52a6eff02af04e12991e (diff) | |
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
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/ref/models/instances.txt | 2 |
1 files changed, 1 insertions, 1 deletions
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] |
