summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorMariusz Felisiak <felisiak.mariusz@gmail.com>2023-12-15 07:54:02 +0100
committerGitHub <noreply@github.com>2023-12-15 07:54:02 +0100
commit86c45d8bc6724c29fe4b42f1e513ce8c1b883194 (patch)
treece7332bc2e5ccbf27e2f81633467f85824ce6cd3 /docs
parent0d5e9a32eb5bd1201437519a3bda1fb4c4d06af9 (diff)
Fixed typos in docs.
Diffstat (limited to 'docs')
-rw-r--r--docs/topics/auth/default.txt2
-rw-r--r--docs/topics/cache.txt2
2 files changed, 2 insertions, 2 deletions
diff --git a/docs/topics/auth/default.txt b/docs/topics/auth/default.txt
index c8140e4d22..a8d32b2fea 100644
--- a/docs/topics/auth/default.txt
+++ b/docs/topics/auth/default.txt
@@ -776,7 +776,7 @@ The ``permission_required`` decorator
It's a relatively common task to check whether a user has a particular
permission. For that reason, Django provides a shortcut for that case: the
- :func:`~django.contrib.auth.decorators.permission_required()` decorator.::
+ :func:`~django.contrib.auth.decorators.permission_required()` decorator::
from django.contrib.auth.decorators import permission_required
diff --git a/docs/topics/cache.txt b/docs/topics/cache.txt
index 5935c3e27f..880f606aae 100644
--- a/docs/topics/cache.txt
+++ b/docs/topics/cache.txt
@@ -1049,7 +1049,7 @@ of keys to be cleared:
Finally, if you want to delete all the keys in the cache, use
``cache.clear()``. Be careful with this; ``clear()`` will remove *everything*
-from the cache, not just the keys set by your application. :
+from the cache, not just the keys set by your application:
.. code-block:: pycon