diff options
| author | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2022-05-31 07:40:54 +0200 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2022-06-27 08:04:25 +0200 |
| commit | 4d20d2f7c2b8e74c3e85bd0716ebdcb3b35a70e6 (patch) | |
| tree | 40722f3317489da559dce2c04da404f1fe61709d /docs/ref/databases.txt | |
| parent | 8a294ee2e0e30f073f764310c74899e385a302ec (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/ref/databases.txt')
| -rw-r--r-- | docs/ref/databases.txt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/ref/databases.txt b/docs/ref/databases.txt index 0f183bfe20..ba5692d9e5 100644 --- a/docs/ref/databases.txt +++ b/docs/ref/databases.txt @@ -120,7 +120,7 @@ password from the `password file`_, you must specify them in the :setting:`OPTIONS` part of your database configuration in :setting:`DATABASES`: .. code-block:: python - :caption: settings.py + :caption: ``settings.py`` DATABASES = { 'default': { @@ -133,7 +133,7 @@ password from the `password file`_, you must specify them in the } .. code-block:: text - :caption: .pg_service.conf + :caption: ``.pg_service.conf`` [my_service] host=localhost @@ -142,7 +142,7 @@ password from the `password file`_, you must specify them in the port=5432 .. code-block:: text - :caption: .my_pgpass + :caption: ``.my_pgpass`` localhost:5432:NAME:USER:PASSWORD @@ -1079,7 +1079,7 @@ example of subclassing the PostgreSQL engine to change a feature class ``allows_group_by_selected_pks_on_model``: .. code-block:: python - :caption: mysite/mydbengine/base.py + :caption: ``mysite/mydbengine/base.py`` from django.db.backends.postgresql import base, features |
