diff options
| author | Anssi Kääriäinen <akaariai@gmail.com> | 2012-04-20 11:09:32 +0000 |
|---|---|---|
| committer | Anssi Kääriäinen <akaariai@gmail.com> | 2012-04-20 11:09:32 +0000 |
| commit | d5b93d3281fe93cbef5de84a52001f64dbd839bd (patch) | |
| tree | 3d445402e99f79f717602a6bc63561cd23ccdee8 /docs | |
| parent | a901654a96dd4287ab3a700aff86bcac4b49f32a (diff) | |
Fixed #10494 -- Added kwargs to QuerySet.get() error message in the case no objects were found.
Thanks brondsem for the report, Szymon Pyzalski for the patch and oinopion for review.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17917 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/intro/overview.txt | 2 | ||||
| -rw-r--r-- | docs/intro/tutorial01.txt | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/docs/intro/overview.txt b/docs/intro/overview.txt index 4f97fef44c..bd2fdfdb6c 100644 --- a/docs/intro/overview.txt +++ b/docs/intro/overview.txt @@ -93,7 +93,7 @@ access your data. The API is created on the fly, no code generation necessary:: >>> Reporter.objects.get(id=2) Traceback (most recent call last): ... - DoesNotExist: Reporter matching query does not exist. + DoesNotExist: Reporter matching query does not exist. Lookup parameters were {'id': 2} # Create an article. >>> from datetime import datetime diff --git a/docs/intro/tutorial01.txt b/docs/intro/tutorial01.txt index 7575afd454..d8258c00f8 100644 --- a/docs/intro/tutorial01.txt +++ b/docs/intro/tutorial01.txt @@ -664,7 +664,7 @@ Save these changes and start a new Python interactive shell by running >>> Poll.objects.get(id=2) Traceback (most recent call last): ... - DoesNotExist: Poll matching query does not exist. + DoesNotExist: Poll matching query does not exist. Lookup parameters were {'id': 2} # Lookup by a primary key is the most common case, so Django provides a # shortcut for primary-key exact lookups. |
