diff options
| author | Claude Paroz <claude@2xlibre.net> | 2014-12-19 16:25:57 +0100 |
|---|---|---|
| committer | Claude Paroz <claude@2xlibre.net> | 2014-12-19 18:07:52 +0100 |
| commit | 0a4b04fc23356aa6970ca1b17cb5e6955b108289 (patch) | |
| tree | e1e95b2272cf770afeb07deb26126f27bf36d4f1 /docs/ref | |
| parent | 742fba94554818a988fe1e6cc8aa547831cca872 (diff) | |
Used https for most *.python.org links
Diffstat (limited to 'docs/ref')
| -rw-r--r-- | docs/ref/contrib/gis/install/index.txt | 8 | ||||
| -rw-r--r-- | docs/ref/contrib/index.txt | 2 | ||||
| -rw-r--r-- | docs/ref/databases.txt | 4 | ||||
| -rw-r--r-- | docs/ref/files/file.txt | 2 | ||||
| -rw-r--r-- | docs/ref/files/uploads.txt | 2 | ||||
| -rw-r--r-- | docs/ref/models/instances.txt | 2 | ||||
| -rw-r--r-- | docs/ref/settings.txt | 8 | ||||
| -rw-r--r-- | docs/ref/templates/builtins.txt | 2 | ||||
| -rw-r--r-- | docs/ref/utils.txt | 4 |
9 files changed, 16 insertions, 18 deletions
diff --git a/docs/ref/contrib/gis/install/index.txt b/docs/ref/contrib/gis/install/index.txt index 6e326f0455..ca629bbd78 100644 --- a/docs/ref/contrib/gis/install/index.txt +++ b/docs/ref/contrib/gis/install/index.txt @@ -240,9 +240,9 @@ the Python Software Foundation. An advantage to using the installer is that OS X's Python will remain "pristine" for internal operating system use. -__ http://python.org/ftp/python/2.7.5/ -__ http://python.org/ftp/python/3.2.5/ -__ http://python.org/ftp/python/3.3.2/ +__ https://python.org/ftp/python/2.7.5/ +__ https://python.org/ftp/python/3.2.5/ +__ https://python.org/ftp/python/3.3.2/ .. note:: @@ -404,7 +404,7 @@ Next, run the installer and keep the defaults -- for example, keep products sometimes install a copy there. *You should still install a fresh version of Python 2.7.* -__ http://python.org/download/ +__ https://python.org/download/ PostgreSQL ^^^^^^^^^^ diff --git a/docs/ref/contrib/index.txt b/docs/ref/contrib/index.txt index 2cbc691c5b..9f7754a7c1 100644 --- a/docs/ref/contrib/index.txt +++ b/docs/ref/contrib/index.txt @@ -17,7 +17,7 @@ those packages have. ``'django.contrib.redirects'``) to your :setting:`INSTALLED_APPS` setting and re-run ``manage.py migrate``. -.. _"batteries included" philosophy: http://docs.python.org/tutorial/stdlib.html#batteries-included +.. _"batteries included" philosophy: https://docs.python.org/tutorial/stdlib.html#batteries-included .. toctree:: :maxdepth: 1 diff --git a/docs/ref/databases.txt b/docs/ref/databases.txt index 05bb2da9ae..68d8043afc 100644 --- a/docs/ref/databases.txt +++ b/docs/ref/databases.txt @@ -223,11 +223,9 @@ running ``migrate``:: MySQL DB API Drivers -------------------- -The Python Database API is described in `PEP 249`_. MySQL has three prominent +The Python Database API is described in :pep:`249`. MySQL has three prominent drivers that implement this API: -.. _PEP 249: http://www.python.org/dev/peps/pep-0249/ - - `MySQLdb`_ is a native driver that has been developed and supported for over a decade by Andy Dustman. - `mysqlclient`_ is a fork of ``MySQLdb`` which notably supports Python 3 and diff --git a/docs/ref/files/file.txt b/docs/ref/files/file.txt index 57f8e9eab3..fd5a915426 100644 --- a/docs/ref/files/file.txt +++ b/docs/ref/files/file.txt @@ -60,7 +60,7 @@ The ``File`` Class ``'\n'``, the Windows convention ``'\r\n'``, and the old Macintosh convention ``'\r'``. - .. _universal newlines: http://www.python.org/dev/peps/pep-0278 + .. _universal newlines: https://www.python.org/dev/peps/pep-0278 .. method:: chunks([chunk_size=None]) diff --git a/docs/ref/files/uploads.txt b/docs/ref/files/uploads.txt index 0817816197..5746985911 100644 --- a/docs/ref/files/uploads.txt +++ b/docs/ref/files/uploads.txt @@ -86,7 +86,7 @@ Here are some useful attributes of ``UploadedFile``: as ending a line: the Unix end-of-line convention ``'\n'``, the Windows convention ``'\r\n'``, and the old Macintosh convention ``'\r'``. - .. _universal newlines: http://www.python.org/dev/peps/pep-0278 + .. _universal newlines: https://www.python.org/dev/peps/pep-0278 .. versionchanged:: 1.8 diff --git a/docs/ref/models/instances.txt b/docs/ref/models/instances.txt index 21dbb5af1a..c294704641 100644 --- a/docs/ref/models/instances.txt +++ b/docs/ref/models/instances.txt @@ -705,7 +705,7 @@ in Python`_). In previous versions instance's without primary key value were hashable. -.. _is forbidden in Python: http://docs.python.org/reference/datamodel.html#object.__hash__ +.. _is forbidden in Python: https://docs.python.org/reference/datamodel.html#object.__hash__ ``get_absolute_url`` -------------------- diff --git a/docs/ref/settings.txt b/docs/ref/settings.txt index 3edea084d6..ef5d5fe2e1 100644 --- a/docs/ref/settings.txt +++ b/docs/ref/settings.txt @@ -1001,7 +1001,7 @@ precedence and will be applied instead. See also :setting:`DATETIME_INPUT_FORMATS` and :setting:`TIME_INPUT_FORMATS`. -.. _datetime: http://docs.python.org/library/datetime.html#strftime-strptime-behavior +.. _datetime: https://docs.python.org/library/datetime.html#strftime-strptime-behavior .. setting:: DATETIME_FORMAT @@ -1049,7 +1049,7 @@ precedence and will be applied instead. See also :setting:`DATE_INPUT_FORMATS` and :setting:`TIME_INPUT_FORMATS`. -.. _datetime: http://docs.python.org/library/datetime.html#strftime-strptime-behavior +.. _datetime: https://docs.python.org/library/datetime.html#strftime-strptime-behavior .. setting:: DEBUG @@ -1812,7 +1812,7 @@ configuration process will be skipped. Previously, the default value was ``'django.utils.log.dictConfig'``. -.. _dictConfig: http://docs.python.org/library/logging.config.html#configuration-dictionary-schema +.. _dictConfig: https://docs.python.org/library/logging.config.html#configuration-dictionary-schema .. setting:: MANAGERS @@ -2445,7 +2445,7 @@ precedence and will be applied instead. See also :setting:`DATE_INPUT_FORMATS` and :setting:`DATETIME_INPUT_FORMATS`. -.. _datetime: http://docs.python.org/library/datetime.html#strftime-strptime-behavior +.. _datetime: https://docs.python.org/library/datetime.html#strftime-strptime-behavior .. setting:: TIME_ZONE diff --git a/docs/ref/templates/builtins.txt b/docs/ref/templates/builtins.txt index e1ea472f7a..8e4dc05d38 100644 --- a/docs/ref/templates/builtins.txt +++ b/docs/ref/templates/builtins.txt @@ -2071,7 +2071,7 @@ Formats the variable according to the argument, a string formatting specifier. This specifier uses Python string formatting syntax, with the exception that the leading "%" is dropped. -See http://docs.python.org/library/stdtypes.html#string-formatting-operations +See https://docs.python.org/library/stdtypes.html#string-formatting-operations for documentation of Python string formatting For example:: diff --git a/docs/ref/utils.txt b/docs/ref/utils.txt index 56e9fb7dce..5939ff6fb1 100644 --- a/docs/ref/utils.txt +++ b/docs/ref/utils.txt @@ -677,7 +677,7 @@ escaping HTML. If ``value`` is ``"<B>Joel</B> <button>is</button> a <span>slug</span>"`` the return value will be ``"<B>Joel</B> <button>is</button> a slug"``. -.. _str.format: http://docs.python.org/library/stdtypes.html#str.format +.. _str.format: https://docs.python.org/library/stdtypes.html#str.format .. _bleach: https://pypi.python.org/pypi/bleach ``django.utils.http`` @@ -739,7 +739,7 @@ escaping HTML. Converts a positive integer to a base 36 string. On Python 2 ``i`` must be smaller than `sys.maxint`_. - .. _sys.maxint: http://docs.python.org/2/library/sys.html#sys.maxint + .. _sys.maxint: https://docs.python.org/2/library/sys.html#sys.maxint .. function:: urlsafe_base64_encode(s) |
