Updated various links in docs to avoid redirects

Thanks Tim Graham and Mariusz Felisiak for review and completion.
This commit is contained in:
Claude Paroz 2017-05-20 17:51:21 +02:00
parent a3ba2662cd
commit 01f658644a
37 changed files with 70 additions and 78 deletions

View file

@ -71,7 +71,7 @@ probably got the answers.
.. admonition:: Python 3 required!
The current development version of Django doesn't support Python 2.7. Get
Python 3 at `Python's download page <https://www.python.org/download/>`_ or
Python 3 at `Python's download page <https://www.python.org/downloads/>`_ or
with your operating system's package manager.
.. admonition:: For Windows users
@ -105,7 +105,7 @@ have to download and install it, see `Git's download page`__.
If you're not that familiar with Git, you can always find out more about its
commands (once it's installed) by typing ``git help`` into the command line.
__ http://git-scm.com/download
__ https://git-scm.com/download
Getting a copy of Django's development version
==============================================
@ -299,7 +299,7 @@ present in Django's official builds. If you click to view a particular build,
you can view the "Configuration Matrix" which shows failures broken down by
Python version and database backend.
__ http://djangoci.com
__ https://djangoci.com
.. note::

View file

@ -16,7 +16,7 @@ database called SQLite_ so you won't need to set up a database just yet.
.. _sqlite: https://sqlite.org/
Get the latest version of Python at https://www.python.org/download/ or with
Get the latest version of Python at https://www.python.org/downloads/ or with
your operating system's package manager.
.. admonition:: Django on Jython

View file

@ -19,11 +19,10 @@ 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://www.djangopackages.com>`_ 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://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
@ -257,7 +256,7 @@ this. For a small app like polls, this process isn't too difficult.
new package, ``django-polls-0.1.tar.gz``.
For more information on packaging, see Python's `Tutorial on Packaging and
Distributing Projects <https://packaging.python.org/en/latest/distributing.html>`_.
Distributing Projects <https://packaging.python.org/distributing/>`_.
Using your own package
======================
@ -303,7 +302,7 @@ the world! If this wasn't just an example, you could now:
* Post the package on a public repository, such as `the Python Package Index
(PyPI)`_. `packaging.python.org <https://packaging.python.org>`_ has `a good
tutorial <https://packaging.python.org/en/latest/distributing.html#uploading-your-project-to-pypi>`_
tutorial <https://packaging.python.org/distributing/#uploading-your-project-to-pypi>`_
for doing this.
Installing Python packages with virtualenv