From 402da9ab7b2bae807b7ea30c23ef524b0aeb1903 Mon Sep 17 00:00:00 2001 From: Jakub Wilk Date: Sun, 13 Mar 2016 19:47:58 +0100 Subject: Fixed typos in docs. --- docs/topics/conditional-view-processing.txt | 2 +- docs/topics/performance.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'docs/topics') 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 -- cgit v1.3