From 6f36bedab8258758af604e2baffd7f3f2c6178d1 Mon Sep 17 00:00:00 2001
From: Eugenio Cano-Manuel <eugeniocanom@gmail.com>
Date: Wed, 16 Apr 2014 13:44:00 +0000
Subject: [PATCH] Make DoesNotExist output conform to
266c0bb23e9d64c47ace4d162e582febd5a1e336 in tutorial
---
docs/intro/tutorial01.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/docs/intro/tutorial01.txt b/docs/intro/tutorial01.txt
index 4fb5d1b..3211bb8 100644
a
|
b
|
Save these changes and start a new Python interactive shell by running
|
777 | 777 | >>> Question.objects.get(id=2) |
778 | 778 | Traceback (most recent call last): |
779 | 779 | ... |
780 | | DoesNotExist: Question matching query does not exist. Lookup parameters were {'id': 2} |
| 780 | DoesNotExist: Question matching query does not exist. |
781 | 781 | |
782 | 782 | # Lookup by a primary key is the most common case, so Django provides a |
783 | 783 | # shortcut for primary-key exact lookups. |