mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
[4.2.x] Used extlinks for PyPI links.
Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
Backport of 2c4dc64760 from main
This commit is contained in:
committed by
Mariusz Felisiak
parent
5094013134
commit
26f181939e
@@ -2,10 +2,8 @@
|
||||
How to use Django with Daphne
|
||||
=============================
|
||||
|
||||
Daphne_ is a pure-Python ASGI server for UNIX, maintained by members of the
|
||||
Django project. It acts as the reference server for ASGI.
|
||||
|
||||
.. _Daphne: https://pypi.org/project/daphne/
|
||||
:pypi:`Daphne <daphne>` is a pure-Python ASGI server for UNIX, maintained by
|
||||
members of the Django project. It acts as the reference server for ASGI.
|
||||
|
||||
Installing Daphne
|
||||
===================
|
||||
|
||||
@@ -20,8 +20,8 @@ participating in a March Madness contest.
|
||||
Install ReportLab
|
||||
=================
|
||||
|
||||
The ReportLab library is `available on PyPI`_. A `user guide`_ (not
|
||||
coincidentally, a PDF file) is also available for download.
|
||||
The ReportLab library is :pypi:`available on PyPI <reportlab>`. A `user guide`_
|
||||
(not coincidentally, a PDF file) is also available for download.
|
||||
You can install ReportLab with ``pip``:
|
||||
|
||||
.. console::
|
||||
@@ -36,7 +36,6 @@ Test your installation by importing it in the Python interactive interpreter:
|
||||
|
||||
If that command doesn't raise any errors, the installation worked.
|
||||
|
||||
.. _available on PyPI: https://pypi.org/project/reportlab/
|
||||
.. _user guide: https://www.reportlab.com/docs/reportlab-userguide.pdf
|
||||
|
||||
Write your view
|
||||
|
||||
@@ -40,13 +40,11 @@ matches the version you installed by executing:
|
||||
About ``pip``
|
||||
=============
|
||||
|
||||
`pip`_ is a package manager for Python and is included by default with the
|
||||
:pypi:`pip` is a package manager for Python and is included by default with the
|
||||
Python installer. It helps to install and uninstall Python packages
|
||||
(such as Django!). For the rest of the installation, we'll use ``pip`` to
|
||||
install Python packages from the command line.
|
||||
|
||||
.. _pip: https://pypi.org/project/pip/
|
||||
|
||||
.. _virtualenvironment:
|
||||
|
||||
Setting up a virtual environment
|
||||
@@ -106,8 +104,8 @@ terminal. In modern terminals this should work for both CMD and PowerShell. If
|
||||
for some reason this needs to be disabled, set the environmental variable
|
||||
:envvar:`DJANGO_COLORS` to ``nocolor``.
|
||||
|
||||
On older Windows versions, or legacy terminals, colorama_ must be installed to
|
||||
enable syntax coloring:
|
||||
On older Windows versions, or legacy terminals, :pypi:`colorama` must be
|
||||
installed to enable syntax coloring:
|
||||
|
||||
.. code-block:: doscon
|
||||
|
||||
@@ -115,8 +113,6 @@ enable syntax coloring:
|
||||
|
||||
See :ref:`syntax-coloring` for more information on color settings.
|
||||
|
||||
.. _colorama: https://pypi.org/project/colorama/
|
||||
|
||||
Common pitfalls
|
||||
===============
|
||||
|
||||
|
||||
Reference in New Issue
Block a user