summaryrefslogtreecommitdiff
path: root/docs/intro
diff options
context:
space:
mode:
authorBrett Cannon <brett@python.org>2018-04-17 15:19:29 -0700
committerTim Graham <timograham@gmail.com>2018-04-17 20:56:33 -0400
commitb98fa241ddbb22507cb63886f697d25f43197cba (patch)
treec77c4ae32e46ff4e30bac0c6e11546f4ab2241fd /docs/intro
parent3619d322098ae3573707adae22cb0c086e948210 (diff)
[2.0.x] Fixed #29334 -- Updated pypi.python.org URLs to pypi.org.
Backport of 64b74804c537b12d4cca64f7cb529c0478b4c4d9 from master
Diffstat (limited to 'docs/intro')
-rw-r--r--docs/intro/reusable-apps.txt18
1 files changed, 8 insertions, 10 deletions
diff --git a/docs/intro/reusable-apps.txt b/docs/intro/reusable-apps.txt
index 5a5038f3a0..8b71b523a4 100644
--- a/docs/intro/reusable-apps.txt
+++ b/docs/intro/reusable-apps.txt
@@ -17,12 +17,12 @@ Python and Django projects share common problems. Wouldn't it be great if we
could save some of this repeated work?
Reusability is the way of life in Python. `The Python Package Index (PyPI)
-<https://pypi.python.org/pypi>`_ has a vast range of packages you can use in
-your own Python programs. Check out `Django Packages
-<https://djangopackages.org>`_ for existing reusable apps you could incorporate
-in your project. Django itself is also just a Python package. This means that
-you can take existing Python packages or Django apps and compose them into your
-own web project. You only need to write the parts that make your project unique.
+<https://pypi.org/>`_ has a vast range of packages you can use in your own
+Python programs. Check out `Django Packages <https://djangopackages.org>`_ for
+existing reusable apps you could incorporate in your project. Django itself is
+also just a Python package. This means that you can take existing Python
+packages or Django apps and compose them into your own web project. You only
+need to write the parts that make your project unique.
Let's say you were starting a new project that needed a polls app like the one
we've been working on. How do you make this app reusable? Luckily, you're well
@@ -110,8 +110,8 @@ two packages now. If you need help, you can refer to :ref:`how to install
Django with pip<installing-official-release>`. You can install ``setuptools``
the same way.
-.. _setuptools: https://pypi.python.org/pypi/setuptools
-.. _pip: https://pypi.python.org/pypi/pip
+.. _setuptools: https://pypi.org/project/setuptools/
+.. _pip: https://pypi.org/project/pip/
Packaging your app
==================
@@ -288,8 +288,6 @@ working. We'll now fix this by installing our new ``django-polls`` package.
pip uninstall django-polls
-.. _pip: https://pypi.python.org/pypi/pip
-
Publishing your app
===================