From 01f658644a7ee7cbff4ee5626d5894e9049ee8d5 Mon Sep 17 00:00:00 2001 From: Claude Paroz Date: Sat, 20 May 2017 17:51:21 +0200 Subject: Updated various links in docs to avoid redirects Thanks Tim Graham and Mariusz Felisiak for review and completion. --- docs/intro/contributing.txt | 6 +++--- docs/intro/install.txt | 2 +- docs/intro/reusable-apps.txt | 13 ++++++------- 3 files changed, 10 insertions(+), 11 deletions(-) (limited to 'docs/intro') diff --git a/docs/intro/contributing.txt b/docs/intro/contributing.txt index 7824cdbe84..036d8880cf 100644 --- a/docs/intro/contributing.txt +++ b/docs/intro/contributing.txt @@ -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 `_ or + Python 3 at `Python's download page `_ 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:: diff --git a/docs/intro/install.txt b/docs/intro/install.txt index 7a338ee858..9861923b37 100644 --- a/docs/intro/install.txt +++ b/docs/intro/install.txt @@ -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 diff --git a/docs/intro/reusable-apps.txt b/docs/intro/reusable-apps.txt index c8ff7a7f83..90d807fd06 100644 --- a/docs/intro/reusable-apps.txt +++ b/docs/intro/reusable-apps.txt @@ -19,11 +19,10 @@ could save some of this repeated work? Reusability is the way of life in Python. `The Python Package Index (PyPI) `_ has a vast range of packages you can use in your own Python programs. Check out `Django Packages -`_ 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. +`_ 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 `_. +Distributing Projects `_. 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 `_ has `a good - tutorial `_ + tutorial `_ for doing this. Installing Python packages with virtualenv -- cgit v1.3