diff options
| author | Paul McMillan <Paul@McMillan.ws> | 2010-06-23 05:23:15 +0000 |
|---|---|---|
| committer | Paul McMillan <Paul@McMillan.ws> | 2010-06-23 05:23:15 +0000 |
| commit | c8624d43cbaee8b9d434f555d99fb7859011b4c9 (patch) | |
| tree | 2a37fbd71f70172f56da45d322f6a6847c406217 /docs/ref/models | |
| parent | 222cc77e528ac83c6af8c88deb31385b0d710cc0 (diff) | |
[soc2010/test-refactor] Merged changes from trunk up to 13390
git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2010/test-refactor@13391 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs/ref/models')
| -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] |
