1
0
mirror of https://github.com/django/django.git synced 2025-10-23 21:59:11 +00:00

Used https for most *.python.org links

This commit is contained in:
Claude Paroz
2014-12-19 16:25:57 +01:00
parent 742fba9455
commit 0a4b04fc23
36 changed files with 52 additions and 57 deletions

View File

@@ -287,7 +287,7 @@ correctly in a couple different situations.
your teeth into, there's always the `Python unittest documentation`__.
__ http://www.diveintopython.net/unit_testing/index.html
__ http://docs.python.org/library/unittest.html
__ https://docs.python.org/library/unittest.html
Running your new test
---------------------

View File

@@ -32,7 +32,7 @@ place: read this material to quickly get up and running.
Python quickly, we recommend `Dive Into Python`_. If that's not quite your
style, there are many other `books about Python`_.
.. _python: http://python.org/
.. _python: https://python.org/
.. _list of Python resources for non-programmers: https://wiki.python.org/moin/BeginnersGuide/NonProgrammers
.. _Dive Into Python: http://www.diveintopython3.net/
.. _books about Python: https://wiki.python.org/moin/PythonBooks

View File

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

View File

@@ -209,7 +209,7 @@ requested URL. (If none of them matches, Django calls a special-case 404 view.)
This is blazingly fast, because the regular expressions are compiled at load
time.
.. _regular expressions: http://docs.python.org/2/howto/regex.html
.. _regular expressions: https://docs.python.org/howto/regex.html
Once one of the regexes matches, Django imports and calls the given view, which
is a simple Python function. Each view gets passed a request object --

View File

@@ -34,7 +34,7 @@ projects and ready to publish for others to install and use.
.. admonition:: Package? App?
A Python `package <http://docs.python.org/tutorial/modules.html#packages>`_
A Python `package <https://docs.python.org/tutorial/modules.html#packages>`_
provides a way of grouping related Python code for easy reuse. A package
contains one or more files of Python code (also known as "modules").

View File

@@ -116,7 +116,7 @@ These files are:
* :file:`mysite/wsgi.py`: An entry-point for WSGI-compatible web servers to
serve your project. See :doc:`/howto/deployment/wsgi/index` for more details.
.. _more about packages: http://docs.python.org/tutorial/modules.html#packages
.. _more about packages: https://docs.python.org/tutorial/modules.html#packages
Database setup
--------------
@@ -396,7 +396,7 @@ Finally, note a relationship is defined, using
to a single ``Question``. Django supports all the common database relationships:
many-to-one, many-to-many and one-to-one.
.. _`Python path`: http://docs.python.org/tutorial/modules.html#the-module-search-path
.. _`Python path`: https://docs.python.org/tutorial/modules.html#the-module-search-path
Activating models
=================