mirror of
https://github.com/django/django.git
synced 2025-10-24 22:26:08 +00:00
[1.7.x] Updated doc links to point to Python 3 documentation
Backport of 680a0f08b from master.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user