From d5b93d3281fe93cbef5de84a52001f64dbd839bd Mon Sep 17 00:00:00 2001 From: Anssi Kääriäinen Date: Fri, 20 Apr 2012 11:09:32 +0000 Subject: 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 --- docs/intro/tutorial01.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/intro/tutorial01.txt') 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. -- cgit v1.3