summaryrefslogtreecommitdiff
path: root/docs/topics
diff options
context:
space:
mode:
authorJakub Wilk <jwilk@jwilk.net>2016-03-13 19:47:58 +0100
committerJakub Wilk <jwilk@jwilk.net>2016-03-13 19:48:24 +0100
commit402da9ab7b2bae807b7ea30c23ef524b0aeb1903 (patch)
tree398cca9ff1cddcdbc8da7adeca62a25e6dae598a /docs/topics
parent91f87b8f91f5f8d01ac4b814dce218be27f56ab2 (diff)
Fixed typos in docs.
Diffstat (limited to 'docs/topics')
-rw-r--r--docs/topics/conditional-view-processing.txt2
-rw-r--r--docs/topics/performance.txt2
2 files changed, 2 insertions, 2 deletions
diff --git a/docs/topics/conditional-view-processing.txt b/docs/topics/conditional-view-processing.txt
index 3d667337fd..742926e759 100644
--- a/docs/topics/conditional-view-processing.txt
+++ b/docs/topics/conditional-view-processing.txt
@@ -167,7 +167,7 @@ For example, consider the following exchange between the client and server:
the version it is trying to update.
4. Server checks to see if the resource has changed, by computing the ETag
the same way it does for a ``GET`` request (using the same function).
- If the resource *has* changed, it will return a 412 status code code,
+ If the resource *has* changed, it will return a 412 status code,
meaning "precondition failed".
5. Client sends a ``GET`` request to ``/foo/``, after receiving a 412
response, to retrieve an updated version of the content before updating
diff --git a/docs/topics/performance.txt b/docs/topics/performance.txt
index 76373f126f..c8c9d231af 100644
--- a/docs/topics/performance.txt
+++ b/docs/topics/performance.txt
@@ -171,7 +171,7 @@ final steps towards producing well-performing code, not a shortcut.
:class:`~django.utils.functional.cached_property`
-------------------------------------------------
-It's common to have to call a class instances's method more than once. If
+It's common to have to call a class instance's method more than once. If
that function is expensive, then doing so can be wasteful.
Using the :class:`~django.utils.functional.cached_property` decorator saves the