summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorJason Judkins <34417573+jcjudkins@users.noreply.github.com>2025-05-26 11:33:29 -0400
committerNatalia <124304+nessita@users.noreply.github.com>2025-05-26 12:38:29 -0300
commitc5b42632c95fdaaa46e2b9b512bf39346e21abc9 (patch)
tree56caf1e95795f4e8eda8eb1a646f27c4d180d06d /docs
parent32fd8dec5618bd09eccdeb9dbf512043193d68ef (diff)
[4.2.x] Fixed #36402, Refs #35980 -- Updated built package name in reusable apps tutorial for PEP 625.
Backport of 1307b8a1cb05762147736d0f347792b33f645390 from main.
Diffstat (limited to 'docs')
-rw-r--r--docs/intro/reusable-apps.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/intro/reusable-apps.txt b/docs/intro/reusable-apps.txt
index 4524c3df4e..bc6e1e635c 100644
--- a/docs/intro/reusable-apps.txt
+++ b/docs/intro/reusable-apps.txt
@@ -193,7 +193,7 @@ this. For a small app like polls, this process isn't too difficult.
:caption: ``django-polls/pyproject.toml``
[build-system]
- requires = ["setuptools>=61.0"]
+ requires = ["setuptools>=69.3"]
build-backend = "setuptools.build_meta"
[project]
@@ -252,7 +252,7 @@ this. For a small app like polls, this process isn't too difficult.
#. Check that the :pypi:`build` package is installed (``python -m pip install
build``) and try building your package by running ``python -m build`` inside
``django-polls``. This creates a directory called ``dist`` and builds your
- new package into source and binary formats, ``django-polls-0.1.tar.gz`` and
+ new package into source and binary formats, ``django_polls-0.1.tar.gz`` and
``django_polls-0.1-py3-none-any.whl``.
For more information on packaging, see Python's `Tutorial on Packaging and
@@ -282,7 +282,7 @@ working. We'll now fix this by installing our new ``django-polls`` package.
.. code-block:: shell
- python -m pip install --user django-polls/dist/django-polls-0.1.tar.gz
+ python -m pip install --user django-polls/dist/django_polls-0.1.tar.gz
#. With luck, your Django project should now work correctly again. Run the
server again to confirm this.