[1.6.x] Fixed some typos in the documentation.

Thanks to Rodolfo Carvalho and Piotr Kasprzyk
for the patch.

Partial backport of ea4da8e63c from master.
This commit is contained in:
Baptiste Mispelon 2014-03-02 17:05:57 +01:00
parent 5cda1d2702
commit 4aaea2921d
8 changed files with 9 additions and 9 deletions

View file

@ -350,7 +350,7 @@ With that ready, we can ask the client to do some work for us::
>>> response.status_code
404
>>> # on the other hand we should expect to find something at '/polls/'
>>> # we'll use 'reverse()' rather than a harcoded URL
>>> # we'll use 'reverse()' rather than a hardcoded URL
>>> from django.core.urlresolvers import reverse
>>> response = client.get(reverse('polls:index'))
>>> response.status_code