[5.1.x] Used :pypi: role in docs where appropriate.

Backport of 304d256674 from main.
This commit is contained in:
Mariusz Felisiak 2024-08-05 15:35:50 +02:00 committed by Natalia
parent 88ebcb1856
commit 20bd3f02be
10 changed files with 25 additions and 35 deletions

View file

@ -35,8 +35,8 @@ with them.
Python style
============
* All files should be formatted using the `black`_ auto-formatter. This will be
run by ``pre-commit`` if that is configured.
* All files should be formatted using the :pypi:`black` auto-formatter. This
will be run by ``pre-commit`` if that is configured.
* The project repository includes an ``.editorconfig`` file. We recommend using
a text editor with `EditorConfig`_ support to avoid indentation and
@ -506,5 +506,4 @@ JavaScript style
For details about the JavaScript code style used by Django, see
:doc:`javascript`.
.. _black: https://black.readthedocs.io/en/stable/
.. _editorconfig: https://editorconfig.org/