summaryrefslogtreecommitdiff
path: root/docs/intro/tutorial01.txt
diff options
context:
space:
mode:
authorMariusz Felisiak <felisiak.mariusz@gmail.com>2022-05-31 07:40:54 +0200
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2022-06-27 08:04:25 +0200
commit4d20d2f7c2b8e74c3e85bd0716ebdcb3b35a70e6 (patch)
tree40722f3317489da559dce2c04da404f1fe61709d /docs/intro/tutorial01.txt
parent8a294ee2e0e30f073f764310c74899e385a302ec (diff)
[4.0.x] Fixed docs build with sphinxcontrib-spelling 7.5.0+.
sphinxcontrib-spelling 7.5.0+ includes captions of figures in the set of nodes for which the text is checked. Backport of ac90529cc58507d9a07610809a795ec5fc3cbf8c from main.
Diffstat (limited to 'docs/intro/tutorial01.txt')
-rw-r--r--docs/intro/tutorial01.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/intro/tutorial01.txt b/docs/intro/tutorial01.txt
index 368760dfb8..1c35424c97 100644
--- a/docs/intro/tutorial01.txt
+++ b/docs/intro/tutorial01.txt
@@ -245,7 +245,7 @@ Let's write the first view. Open the file ``polls/views.py``
and put the following Python code in it:
.. code-block:: python
- :caption: polls/views.py
+ :caption: ``polls/views.py``
from django.http import HttpResponse
@@ -273,7 +273,7 @@ Your app directory should now look like::
In the ``polls/urls.py`` file include the following code:
.. code-block:: python
- :caption: polls/urls.py
+ :caption: ``polls/urls.py``
from django.urls import path
@@ -288,7 +288,7 @@ The next step is to point the root URLconf at the ``polls.urls`` module. In
:func:`~django.urls.include` in the ``urlpatterns`` list, so you have:
.. code-block:: python
- :caption: mysite/urls.py
+ :caption: ``mysite/urls.py``
from django.contrib import admin
from django.urls import include, path