Browse Source

Fixed typos in docs.

Mariusz Felisiak 1 year ago
parent
commit
86c45d8bc6
2 changed files with 2 additions and 2 deletions
  1. 1 1
      docs/topics/auth/default.txt
  2. 1 1
      docs/topics/cache.txt

+ 1 - 1
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
 

+ 1 - 1
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