summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorJannis Vajen <jvajen@gmail.com>2023-05-04 13:56:36 +0200
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2023-05-04 14:10:11 +0200
commit024954aad4c422a091b7afab42fff1a9d7478fce (patch)
treef62c6c54b897910bc5546274c7edac24702ebd0a /docs
parent60ac77f32ee5d771998f535100360553b66fdc7b (diff)
downloaddjango-024954aad4c422a091b7afab42fff1a9d7478fce.tar.gz
Corrected code-block directives in docs.
Diffstat (limited to 'docs')
-rw-r--r--docs/ref/files/file.txt2
-rw-r--r--docs/ref/templates/builtins.txt2
2 files changed, 2 insertions, 2 deletions
diff --git a/docs/ref/files/file.txt b/docs/ref/files/file.txt
index f5c1b10917..650bbb7079 100644
--- a/docs/ref/files/file.txt
+++ b/docs/ref/files/file.txt
@@ -135,7 +135,7 @@ below) will also have a couple of extra methods:
Saves a new file with the file name and contents provided. This will not
replace the existing file, but will create a new file and update the object
to point to it. If ``save`` is ``True``, the model's ``save()`` method will
- be called once the file is saved. That is, these two lines::
+ be called once the file is saved. That is, these two lines:
.. code-block:: pycon
diff --git a/docs/ref/templates/builtins.txt b/docs/ref/templates/builtins.txt
index 2c8e67f9e3..1c92d4ad67 100644
--- a/docs/ref/templates/builtins.txt
+++ b/docs/ref/templates/builtins.txt
@@ -1116,7 +1116,7 @@ Example usage:
{% resetcycle %}
{% endfor %}
-This example would return this HTML::
+This example would return this HTML:
.. code-block:: html