Skip to content

Commit 54b23b1

Browse files
authored
Added backticks to setuptools in docs.
1 parent 958e4cf commit 54b23b1

File tree

2 files changed

+13
-13
lines changed

2 files changed

+13
-13
lines changed

docs/intro/reusable-apps.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -240,10 +240,10 @@ this. For a small app like polls, this process isn't too difficult.
240240

241241
#. Only Python modules and packages are included in the package by default. To
242242
include additional files, we'll need to create a ``MANIFEST.in`` file. The
243-
setuptools docs referred to in the previous step discuss this file in more
244-
detail. To include the templates, the ``README.rst`` and our ``LICENSE``
245-
file, create a file ``django-polls/MANIFEST.in`` with the following
246-
contents:
243+
``setuptools`` docs referred to in the previous step discuss this file in
244+
more detail. To include the templates, the ``README.rst`` and our
245+
``LICENSE`` file, create a file ``django-polls/MANIFEST.in`` with the
246+
following contents:
247247

248248
.. code-block:: text
249249
:caption: ``django-polls/MANIFEST.in``

docs/releases/1.9.txt

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -741,9 +741,9 @@ lists and tuples. All settings that were formerly tuples are now lists.
741741
Django template loaders previously required an ``is_usable`` attribute to be
742742
defined. If a loader was configured in the template settings and this attribute
743743
was ``False``, the loader would be silently ignored. In practice, this was only
744-
used by the egg loader to detect if setuptools was installed. The ``is_usable``
745-
attribute is now removed and the egg loader instead fails at runtime if
746-
setuptools is not installed.
744+
used by the egg loader to detect if ``setuptools`` was installed. The
745+
``is_usable`` attribute is now removed and the egg loader instead fails at
746+
runtime if ``setuptools`` is not installed.
747747

748748
Related set direct assignment
749749
-----------------------------
@@ -1028,10 +1028,10 @@ a Django application with this structure:
10281028

10291029
.. _syntax-error-old-setuptools-django-19:
10301030

1031-
``SyntaxError`` when installing Django setuptools 5.5.x
1032-
-------------------------------------------------------
1031+
``SyntaxError`` when installing Django ``setuptools`` 5.5.x
1032+
-----------------------------------------------------------
10331033

1034-
When installing Django 1.9 or 1.9.1 with setuptools 5.5.x, you'll see:
1034+
When installing Django 1.9 or 1.9.1 with ``setuptools`` 5.5.x, you'll see:
10351035

10361036
.. code-block:: shell
10371037

@@ -1048,10 +1048,10 @@ When installing Django 1.9 or 1.9.1 with setuptools 5.5.x, you'll see:
10481048
SyntaxError: invalid syntax
10491049

10501050
It's safe to ignore these errors (Django will still install just fine), but you
1051-
can avoid them by upgrading setuptools to a more recent version. If you're
1051+
can avoid them by upgrading ``setuptools`` to a more recent version. If you're
10521052
using pip, you can upgrade pip using ``python -m pip install -U pip`` which
1053-
will also upgrade setuptools. This is resolved in later versions of Django as
1054-
described in the :doc:`/releases/1.9.2`.
1053+
will also upgrade ``setuptools``. This is resolved in later versions of Django
1054+
as described in the :doc:`/releases/1.9.2`.
10551055

10561056
Miscellaneous
10571057
-------------

0 commit comments

Comments
 (0)