summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2014-04-16 08:35:17 -0400
committerTim Graham <timograham@gmail.com>2014-04-16 08:37:24 -0400
commit8edba6eb9009cfd54c8c4e9e6a982ba8f83e3a93 (patch)
tree9e13ccd4f20f3b36ac10c4ee68b4c1bc93a64afb /docs
parent62ac77fa23e9610628f1b1d395273248790145ff (diff)
[1.7.x] Fixed #22453 -- Corrected DoesNotExist message in docs.
Thanks Eugenio Cano-Manuel. Backport of eefad142de from master
Diffstat (limited to 'docs')
-rw-r--r--docs/intro/overview.txt2
-rw-r--r--docs/intro/tutorial01.txt2
2 files changed, 2 insertions, 2 deletions
diff --git a/docs/intro/overview.txt b/docs/intro/overview.txt
index 6ec3baf0ec..cbb1a832df 100644
--- a/docs/intro/overview.txt
+++ b/docs/intro/overview.txt
@@ -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
diff --git a/docs/intro/tutorial01.txt b/docs/intro/tutorial01.txt
index 4fb5d1b9f0..3211bb873f 100644
--- a/docs/intro/tutorial01.txt
+++ b/docs/intro/tutorial01.txt
@@ -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.