mirror of
https://github.com/django/django.git
synced 2025-07-24 13:44:32 +00:00
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.
This commit is contained in:
parent
1058fc7023
commit
ac90529cc5
31 changed files with 128 additions and 127 deletions
|
@ -331,7 +331,7 @@ The ``Func`` API is as follows:
|
|||
customize the SQL as needed. For example:
|
||||
|
||||
.. code-block:: python
|
||||
:caption: django/db/models/functions.py
|
||||
:caption: ``django/db/models/functions.py``
|
||||
|
||||
class ConcatPair(Func):
|
||||
...
|
||||
|
|
|
@ -1458,7 +1458,7 @@ Relationships defined this way on :ref:`abstract models
|
|||
concrete model and are not relative to the abstract model's ``app_label``:
|
||||
|
||||
.. code-block:: python
|
||||
:caption: products/models.py
|
||||
:caption: ``products/models.py``
|
||||
|
||||
from django.db import models
|
||||
|
||||
|
@ -1469,7 +1469,7 @@ concrete model and are not relative to the abstract model's ``app_label``:
|
|||
abstract = True
|
||||
|
||||
.. code-block:: python
|
||||
:caption: production/models.py
|
||||
:caption: ``production/models.py``
|
||||
|
||||
from django.db import models
|
||||
from products.models import AbstractCar
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue