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:
@@ -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
|
||||
---------------------
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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 --
|
||||
|
||||
@@ -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").
|
||||
|
||||
|
||||
@@ -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
|
||||
=================
|
||||
|
||||
Reference in New Issue
Block a user