Permalink
Browse files

[1.7.x] Fixed #22453 -- Corrected DoesNotExist message in docs.

Thanks Eugenio Cano-Manuel.

Backport of eefad14 from master
  • Loading branch information...
1 parent 62ac77f commit 8edba6eb9009cfd54c8c4e9e6a982ba8f83e3a93 @timgraham timgraham committed Apr 16, 2014
Showing with 2 additions and 2 deletions.
  1. +1 −1 docs/intro/overview.txt
  2. +1 −1 docs/intro/tutorial01.txt
View
@@ -101,7 +101,7 @@ necessary:
>>> Reporter.objects.get(id=2)
Traceback (most recent call last):
...
- DoesNotExist: Reporter matching query does not exist. Lookup parameters were {'id': 2}
+ DoesNotExist: Reporter matching query does not exist.
# Create an article.
>>> from datetime import date
@@ -777,7 +777,7 @@ Save these changes and start a new Python interactive shell by running
>>> Question.objects.get(id=2)
Traceback (most recent call last):
...
- DoesNotExist: Question matching query does not exist. Lookup parameters were {'id': 2}
+ DoesNotExist: Question matching query does not exist.
# Lookup by a primary key is the most common case, so Django provides a
# shortcut for primary-key exact lookups.

0 comments on commit 8edba6e

Please sign in to comment.