summaryrefslogtreecommitdiff
path: root/docs/intro/tutorial04.txt
diff options
context:
space:
mode:
authorClaude Paroz <claude@2xlibre.net>2014-04-26 16:00:15 +0200
committerClaude Paroz <claude@2xlibre.net>2014-04-26 16:03:40 +0200
commite441cebce340f54741be957817cc034000deab3c (patch)
tree0a1b9730a86f6a3660961e220cd099494f9fd8f2 /docs/intro/tutorial04.txt
parentabd68b5affaec35e941b49f1b0a4cb8d70c22d7b (diff)
[1.7.x] Updated doc links to point to Python 3 documentation
Backport of 680a0f08b from master.
Diffstat (limited to 'docs/intro/tutorial04.txt')
-rw-r--r--docs/intro/tutorial04.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/intro/tutorial04.txt b/docs/intro/tutorial04.txt
index 72dcde8fc2..9aa0011e51 100644
--- a/docs/intro/tutorial04.txt
+++ b/docs/intro/tutorial04.txt
@@ -106,9 +106,9 @@ This code includes a few things we haven't covered yet in this tutorial:
<django.http.HttpRequest.POST>` in our code, to ensure that data is only
altered via a POST call.
-* ``request.POST['choice']`` will raise :exc:`~exceptions.KeyError` if
+* ``request.POST['choice']`` will raise :exc:`KeyError` if
``choice`` wasn't provided in POST data. The above code checks for
- :exc:`~exceptions.KeyError` and redisplays the question form with an error
+ :exc:`KeyError` and redisplays the question form with an error
message if ``choice`` isn't given.
* After incrementing the choice count, the code returns an