diff options
| author | Tim Graham <timograham@gmail.com> | 2012-12-25 09:56:22 -0500 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2012-12-26 19:07:22 -0500 |
| commit | b3a8c9dab87be6bc4b8096d292abe0b35c700bdd (patch) | |
| tree | f48e2778028ef3c147d688b168f374b9d6dabd26 /docs/intro/tutorial04.txt | |
| parent | e2ec7b47b3acb0338d971942ca7ffd36c2a4d8f4 (diff) | |
Fixed broken links, round 3. refs #19516
Diffstat (limited to 'docs/intro/tutorial04.txt')
| -rw-r--r-- | docs/intro/tutorial04.txt | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/docs/intro/tutorial04.txt b/docs/intro/tutorial04.txt index 1619b599bb..333ef9fbc3 100644 --- a/docs/intro/tutorial04.txt +++ b/docs/intro/tutorial04.txt @@ -98,9 +98,10 @@ 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:`KeyError` if ``choice`` wasn't - provided in POST data. The above code checks for :exc:`KeyError` and - redisplays the poll form with an error message if ``choice`` isn't given. +* ``request.POST['choice']`` will raise :exc:`~exceptions.KeyError` if + ``choice`` wasn't provided in POST data. The above code checks for + :exc:`~exceptions.KeyError` and redisplays the poll form with an error + message if ``choice`` isn't given. * After incrementing the choice count, the code returns an :class:`~django.http.HttpResponseRedirect` rather than a normal |
