Skip to content

Commit

Permalink
Fixed typos in docs.
Browse files Browse the repository at this point in the history
  • Loading branch information
felixxm authored Dec 15, 2023
1 parent 0d5e9a3 commit 86c45d8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/topics/auth/default.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion docs/topics/cache.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 86c45d8

Please sign in to comment.