Updated various links in docs to use HTTPS.

This commit is contained in:
Mariusz Felisiak 2018-01-07 14:28:41 +01:00 committed by GitHub
parent 762bd34c36
commit 7c81b28ebc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
28 changed files with 42 additions and 42 deletions

View File

@ -13,7 +13,7 @@ Windows Authentication or Apache and `mod_authnz_ldap`_, `CAS`_, `Cosign`_,
.. _CAS: https://www.apereo.org/projects/cas .. _CAS: https://www.apereo.org/projects/cas
.. _Cosign: http://weblogin.org .. _Cosign: http://weblogin.org
.. _WebAuth: https://www.stanford.edu/services/webauth/ .. _WebAuth: https://www.stanford.edu/services/webauth/
.. _mod_auth_sspi: http://sourceforge.net/projects/mod-auth-sspi .. _mod_auth_sspi: https://sourceforge.net/projects/mod-auth-sspi
When the Web server takes care of authentication it typically sets the When the Web server takes care of authentication it typically sets the
``REMOTE_USER`` environment variable for use in the underlying application. In ``REMOTE_USER`` environment variable for use in the underlying application. In

View File

@ -22,7 +22,7 @@ version >= 2.2 and mod_wsgi >= 2.0. For example, you could:
a 'name' field. You can also specify your own custom mod_wsgi a 'name' field. You can also specify your own custom mod_wsgi
auth handler if your custom cannot conform to these requirements. auth handler if your custom cannot conform to these requirements.
.. _Subversion: http://subversion.apache.org/ .. _Subversion: https://subversion.apache.org/
.. _mod_dav: https://httpd.apache.org/docs/2.2/mod/mod_dav.html .. _mod_dav: https://httpd.apache.org/docs/2.2/mod/mod_dav.html
Authentication with ``mod_wsgi`` Authentication with ``mod_wsgi``

View File

@ -19,7 +19,7 @@ Or, you can write fixtures by hand; fixtures can be written as JSON, XML or YAML
</topics/serialization>` has more details about each of these supported </topics/serialization>` has more details about each of these supported
:ref:`serialization formats <serialization-formats>`. :ref:`serialization formats <serialization-formats>`.
.. _PyYAML: http://www.pyyaml.org/ .. _PyYAML: https://www.pyyaml.org/
As an example, though, here's what a fixture for a simple ``Person`` model might As an example, though, here's what a fixture for a simple ``Person`` model might
look like in JSON: look like in JSON:

View File

@ -14,7 +14,7 @@ For example, Django was used at kusports.com_ to generate customized,
printer-friendly NCAA tournament brackets, as PDF files, for people printer-friendly NCAA tournament brackets, as PDF files, for people
participating in a March Madness contest. participating in a March Madness contest.
.. _ReportLab: http://www.reportlab.com/opensource/ .. _ReportLab: https://www.reportlab.com/opensource/
.. _kusports.com: http://www.kusports.com/ .. _kusports.com: http://www.kusports.com/
Install ReportLab Install ReportLab
@ -35,7 +35,7 @@ Test your installation by importing it in the Python interactive interpreter::
If that command doesn't raise any errors, the installation worked. If that command doesn't raise any errors, the installation worked.
.. _available on PyPI: https://pypi.python.org/pypi/reportlab .. _available on PyPI: https://pypi.python.org/pypi/reportlab
.. _user guide: http://www.reportlab.com/docs/reportlab-userguide.pdf .. _user guide: https://www.reportlab.com/docs/reportlab-userguide.pdf
Write your view Write your view
=============== ===============

View File

@ -265,10 +265,10 @@ associated tests will be skipped.
.. _jinja2: https://pypi.python.org/pypi/jinja2 .. _jinja2: https://pypi.python.org/pypi/jinja2
.. _numpy: https://pypi.python.org/pypi/numpy .. _numpy: https://pypi.python.org/pypi/numpy
.. _Pillow: https://pypi.python.org/pypi/Pillow/ .. _Pillow: https://pypi.python.org/pypi/Pillow/
.. _PyYAML: http://pyyaml.org/wiki/PyYAML .. _PyYAML: https://pyyaml.org/wiki/PyYAML
.. _pytz: https://pypi.python.org/pypi/pytz/ .. _pytz: https://pypi.python.org/pypi/pytz/
.. _setuptools: https://pypi.python.org/pypi/setuptools/ .. _setuptools: https://pypi.python.org/pypi/setuptools/
.. _memcached: http://memcached.org/ .. _memcached: https://memcached.org/
.. _gettext: https://www.gnu.org/software/gettext/manual/gettext.html .. _gettext: https://www.gnu.org/software/gettext/manual/gettext.html
.. _selenium: https://pypi.python.org/pypi/selenium .. _selenium: https://pypi.python.org/pypi/selenium
.. _sqlparse: https://pypi.python.org/pypi/sqlparse .. _sqlparse: https://pypi.python.org/pypi/sqlparse

View File

@ -65,7 +65,7 @@ Release cadence
=============== ===============
Starting with Django 2.0, version numbers will use a loose form of `semantic Starting with Django 2.0, version numbers will use a loose form of `semantic
versioning <http://semver.org/>`_ such that each version following an LTS will versioning <https://semver.org/>`_ such that each version following an LTS will
bump to the next "dot zero" version. For example: 2.0, 2.1, 2.2 (LTS), 3.0, bump to the next "dot zero" version. For example: 2.0, 2.1, 2.2 (LTS), 3.0,
3.1, 3.2 (LTS), etc. 3.1, 3.2 (LTS), etc.

View File

@ -11,7 +11,7 @@ in RSS/Atom feeds formatted according to either the `Simple GeoRSS`__ or
Django's, please consult :doc:`Django's syndication documentation Django's, please consult :doc:`Django's syndication documentation
</ref/contrib/syndication>` for details on general usage. </ref/contrib/syndication>` for details on general usage.
.. _W3C Geo: http://www.w3.org/2003/01/geo/ .. _W3C Geo: https://www.w3.org/2003/01/geo/
__ http://georss.org/simple.html __ http://georss.org/simple.html

View File

@ -9,7 +9,7 @@ GeoDjango provides some specialized form fields and widgets in order to visually
display and edit geolocalized data on a map. By default, they use display and edit geolocalized data on a map. By default, they use
`OpenLayers`_-powered maps, with a base WMS layer provided by `NASA`_. `OpenLayers`_-powered maps, with a base WMS layer provided by `NASA`_.
.. _OpenLayers: http://openlayers.org/ .. _OpenLayers: https://openlayers.org/
.. _NASA: https://earthdata.nasa.gov/ .. _NASA: https://earthdata.nasa.gov/
Field arguments Field arguments

View File

@ -165,7 +165,7 @@ Keyword Argument Description
representation -- the default value is 8. representation -- the default value is 8.
===================== ===================================================== ===================== =====================================================
__ http://www.w3.org/Graphics/SVG/ __ https://www.w3.org/Graphics/SVG/
``Azimuth`` ``Azimuth``
=========== ===========

View File

@ -19,7 +19,7 @@ that ``geoip2`` can leverage the C library's faster speed.
__ https://geoip2.readthedocs.io/ __ https://geoip2.readthedocs.io/
__ https://pypi.python.org/pypi/geoip2 __ https://pypi.python.org/pypi/geoip2
__ http://dev.maxmind.com/geoip/geoip2/geolite2/ __ https://dev.maxmind.com/geoip/geoip2/geolite2/
__ https://github.com/maxmind/libmaxminddb __ https://github.com/maxmind/libmaxminddb
Example Example

View File

@ -852,4 +852,4 @@ Example::
.. rubric:: Footnotes .. rubric:: Footnotes
.. [#fnde9im] *See* `OpenGIS Simple Feature Specification For SQL <http://www.opengis.org/docs/99-049.pdf>`_, at Ch. 2.1.13.2, p. 2-13 (The Dimensionally Extended Nine-Intersection Model). .. [#fnde9im] *See* `OpenGIS Simple Feature Specification For SQL <http://www.opengis.org/docs/99-049.pdf>`_, at Ch. 2.1.13.2, p. 2-13 (The Dimensionally Extended Nine-Intersection Model).
.. [#fnsdorelate] *See* `SDO_RELATE documentation <https://docs.oracle.com/database/121/SPATL/sdo_relate.htm#SPATL1039>`_, from the Oracle Spatial and Graph Developer's Guide. .. [#fnsdorelate] *See* `SDO_RELATE documentation <https://docs.oracle.com/database/121/SPATL/sdo_relate.htm#SPATL1039>`_, from the Oracle Spatial and Graph Developer's Guide.
.. [#fncovers] For an explanation of this routine, read `Quirks of the "Contains" Spatial Predicate <http://lin-ear-th-inking.blogspot.com/2007/06/subtleties-of-ogc-covers-spatial.html>`_ by Martin Davis (a PostGIS developer). .. [#fncovers] For an explanation of this routine, read `Quirks of the "Contains" Spatial Predicate <https://lin-ear-th-inking.blogspot.com/2007/06/subtleties-of-ogc-covers-spatial.html>`_ by Martin Davis (a PostGIS developer).

View File

@ -225,7 +225,7 @@ __ https://www.python.org/ftp/python/
Postgres.app Postgres.app
~~~~~~~~~~~~ ~~~~~~~~~~~~
`Postgres.app <http://postgresapp.com/>`_ is a standalone PostgreSQL server `Postgres.app <https://postgresapp.com/>`_ is a standalone PostgreSQL server
that includes the PostGIS extension. You will also need to install ``gdal`` and that includes the PostGIS extension. You will also need to install ``gdal`` and
``libgeoip`` with :ref:`homebrew`. ``libgeoip`` with :ref:`homebrew`.
@ -299,8 +299,8 @@ your ``.profile`` to be able to run the package programs from the command-line::
export PATH=/Library/Frameworks/GDAL.framework/Programs:$PATH export PATH=/Library/Frameworks/GDAL.framework/Programs:$PATH
export PATH=/usr/local/pgsql/bin:$PATH export PATH=/usr/local/pgsql/bin:$PATH
__ http://www.kyngchaos.com/software/frameworks __ https://www.kyngchaos.com/software/frameworks
__ http://www.kyngchaos.com/software/postgres __ https://www.kyngchaos.com/software/postgres
.. _psycopg2_kyngchaos: .. _psycopg2_kyngchaos:

View File

@ -745,7 +745,7 @@ you just created. Browse to any of the ``WorldBorder`` entries -- the borders
may be edited by clicking on a polygon and dragging the vertexes to the desired may be edited by clicking on a polygon and dragging the vertexes to the desired
position. position.
.. _OpenLayers: http://openlayers.org/ .. _OpenLayers: https://openlayers.org/
.. _Open Street Map: https://www.openstreetmap.org/ .. _Open Street Map: https://www.openstreetmap.org/
.. _Vector Map Level 0: http://earth-info.nga.mil/publications/vmap0.html .. _Vector Map Level 0: http://earth-info.nga.mil/publications/vmap0.html
.. _OSGeo: http://www.osgeo.org .. _OSGeo: http://www.osgeo.org

View File

@ -344,9 +344,9 @@ mentioned above. Feel free to override this method to use your own
hashing algorithm. hashing algorithm.
.. _`far future Expires headers`: https://developer.yahoo.com/performance/rules.html#expires .. _`far future Expires headers`: https://developer.yahoo.com/performance/rules.html#expires
.. _`@import`: http://www.w3.org/TR/CSS2/cascade.html#at-import .. _`@import`: https://www.w3.org/TR/CSS2/cascade.html#at-import
.. _`url()`: http://www.w3.org/TR/CSS2/syndata.html#uri .. _`url()`: https://www.w3.org/TR/CSS2/syndata.html#uri
.. _`Cascading Style Sheets`: http://www.w3.org/Style/CSS/ .. _`Cascading Style Sheets`: https://www.w3.org/Style/CSS/
``CachedStaticFilesStorage`` ``CachedStaticFilesStorage``
---------------------------- ----------------------------

View File

@ -942,7 +942,7 @@ They share this interface:
All parameters should be strings, except ``categories``, which should be a All parameters should be strings, except ``categories``, which should be a
sequence of strings. Beware that some control characters sequence of strings. Beware that some control characters
are `not allowed <http://www.w3.org/International/questions/qa-controls>`_ are `not allowed <https://www.w3.org/International/questions/qa-controls>`_
in XML documents. If your content has some of them, you might encounter a in XML documents. If your content has some of them, you might encounter a
:exc:`ValueError` when producing the feed. :exc:`ValueError` when producing the feed.

View File

@ -358,7 +358,7 @@ in the :setting:`SECURE_REDIRECT_EXEMPT` setting.
Django can't seem to tell when a request actually is already secure, you Django can't seem to tell when a request actually is already secure, you
may need to set the :setting:`SECURE_PROXY_SSL_HEADER` setting. may need to set the :setting:`SECURE_PROXY_SSL_HEADER` setting.
.. _nginx: http://nginx.org .. _nginx: https://nginx.org
Session middleware Session middleware
------------------ ------------------

View File

@ -958,7 +958,7 @@ Without passing ``safe=False``, a :exc:`TypeError` will be raised.
.. warning:: .. warning::
Before the `5th edition of ECMAScript Before the `5th edition of ECMAScript
<http://www.ecma-international.org/ecma-262/5.1/index.html#sec-11.1.4>`_ <https://www.ecma-international.org/ecma-262/5.1/index.html#sec-11.1.4>`_
it was possible to poison the JavaScript ``Array`` constructor. For this it was possible to poison the JavaScript ``Array`` constructor. For this
reason, Django does not allow passing non-dict objects to the reason, Django does not allow passing non-dict objects to the
:class:`~django.http.JsonResponse` constructor by default. However, most :class:`~django.http.JsonResponse` constructor by default. However, most

View File

@ -28,7 +28,7 @@ or Jinja2_, you should feel right at home with Django's templates.
</howto/custom-template-tags>` to the template language as needed). </howto/custom-template-tags>` to the template language as needed).
.. _`The Django template language: For Python programmers`: ../templates_python/ .. _`The Django template language: For Python programmers`: ../templates_python/
.. _Smarty: http://www.smarty.net/ .. _Smarty: https://www.smarty.net/
.. _Jinja2: http://jinja.pocoo.org/ .. _Jinja2: http://jinja.pocoo.org/
Templates Templates

View File

@ -68,7 +68,7 @@ to handle high loads at LiveJournal.com and subsequently open-sourced by
Danga Interactive. It is used by sites such as Facebook and Wikipedia to Danga Interactive. It is used by sites such as Facebook and Wikipedia to
reduce database access and dramatically increase site performance. reduce database access and dramatically increase site performance.
__ http://memcached.org/ __ https://memcached.org/
Memcached runs as a daemon and is allotted a specified amount of RAM. All it Memcached runs as a daemon and is allotted a specified amount of RAM. All it
does is provide a fast interface for adding, retrieving and deleting data in does is provide a fast interface for adding, retrieving and deleting data in
@ -1248,7 +1248,7 @@ Here are some more examples:
The full list of known directives can be found in the `IANA registry`_ The full list of known directives can be found in the `IANA registry`_
(note that not all of them apply to responses). (note that not all of them apply to responses).
.. _IANA registry: http://www.iana.org/assignments/http-cache-directives/http-cache-directives.xhtml .. _IANA registry: https://www.iana.org/assignments/http-cache-directives/http-cache-directives.xhtml
If you want to use headers to disable caching altogether, If you want to use headers to disable caching altogether,
:func:`~django.views.decorators.cache.never_cache` is a view decorator that :func:`~django.views.decorators.cache.never_cache` is a view decorator that

View File

@ -98,7 +98,7 @@ can then look it up in the database. There are a variety of third-party
libraries which are designed to help with this process. libraries which are designed to help with this process.
.. _Elastic: https://www.elastic.co/ .. _Elastic: https://www.elastic.co/
.. _Solr: http://lucene.apache.org/solr/ .. _Solr: https://lucene.apache.org/solr/
PostgreSQL support PostgreSQL support
~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~

View File

@ -12,7 +12,7 @@ There's no ``.php`` or ``.cgi`` required, and certainly none of that
See `Cool URIs don't change`_, by World Wide Web creator Tim Berners-Lee, for See `Cool URIs don't change`_, by World Wide Web creator Tim Berners-Lee, for
excellent arguments on why URLs should be clean and usable. excellent arguments on why URLs should be clean and usable.
.. _Cool URIs don't change: http://www.w3.org/Provider/Style/URI .. _Cool URIs don't change: https://www.w3.org/Provider/Style/URI
Overview Overview
======== ========

View File

@ -48,7 +48,7 @@ here's a simplified definition:
More details can be found in the `W3C Web Internationalization FAQ`_, the `Wikipedia article`_ or the `GNU gettext documentation`_. More details can be found in the `W3C Web Internationalization FAQ`_, the `Wikipedia article`_ or the `GNU gettext documentation`_.
.. _W3C Web Internationalization FAQ: http://www.w3.org/International/questions/qa-i18n .. _W3C Web Internationalization FAQ: https://www.w3.org/International/questions/qa-i18n
.. _GNU gettext documentation: https://www.gnu.org/software/gettext/manual/gettext.html#Concepts .. _GNU gettext documentation: https://www.gnu.org/software/gettext/manual/gettext.html#Concepts
.. _Wikipedia article: https://en.wikipedia.org/wiki/Internationalization_and_localization .. _Wikipedia article: https://en.wikipedia.org/wiki/Internationalization_and_localization

View File

@ -1686,7 +1686,7 @@ This is only needed for people who either want to extract message IDs or compile
message files (``.po``). Translation work itself just involves editing existing message files (``.po``). Translation work itself just involves editing existing
files of this type, but if you want to create your own message files, or want to files of this type, but if you want to create your own message files, or want to
test or compile a changed message file, download `a precompiled binary test or compile a changed message file, download `a precompiled binary
installer <http://mlocati.github.io/gettext-iconv-windows/>`_. installer <https://mlocati.github.io/articles/gettext-iconv-windows.html>`_.
You may also use ``gettext`` binaries you have obtained elsewhere, so long as You may also use ``gettext`` binaries you have obtained elsewhere, so long as
the ``xgettext --version`` command works properly. Do not attempt to use Django the ``xgettext --version`` command works properly. Do not attempt to use Django

View File

@ -59,7 +59,7 @@ very well with `nginx`_. Additionally, Django follows the WSGI spec
(:pep:`3333`), which allows it to run on a variety of server platforms. (:pep:`3333`), which allows it to run on a variety of server platforms.
.. _Apache: https://httpd.apache.org/ .. _Apache: https://httpd.apache.org/
.. _nginx: http://nginx.org/ .. _nginx: https://nginx.org/
.. _mod_wsgi: http://www.modwsgi.org/ .. _mod_wsgi: http://www.modwsgi.org/
.. _database-installation: .. _database-installation:

View File

@ -410,15 +410,15 @@ performance gains for your application to outweigh the potential risks.
With these caveats in mind, you should be aware of: With these caveats in mind, you should be aware of:
`PyPy <http://pypy.org/>`_ `PyPy <https://pypy.org/>`_
~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
`PyPy <http://pypy.org/>`_ is an implementation of Python in Python itself (the `PyPy <https://pypy.org/>`_ is an implementation of Python in Python itself
'standard' Python implementation is in C). PyPy can offer substantial (the 'standard' Python implementation is in C). PyPy can offer substantial
performance gains, typically for heavyweight applications. performance gains, typically for heavyweight applications.
A key aim of the PyPy project is `compatibility A key aim of the PyPy project is `compatibility
<http://pypy.org/compat.html>`_ with existing Python APIs and libraries. <https://pypy.org/compat.html>`_ with existing Python APIs and libraries.
Django is compatible, but you will need to check the compatibility of other Django is compatible, but you will need to check the compatibility of other
libraries you rely on. libraries you rely on.

View File

@ -164,8 +164,8 @@ Identifier Information
serializer is only available if PyYAML_ is installed. serializer is only available if PyYAML_ is installed.
========== ============================================================== ========== ==============================================================
.. _json: http://json.org/ .. _json: https://json.org/
.. _PyYAML: http://www.pyyaml.org/ .. _PyYAML: https://www.pyyaml.org/
XML XML
--- ---
@ -220,7 +220,7 @@ This example links the given user with the permission models with PKs 46 and 47.
accepted in the XML 1.0 standard, the serialization will fail with a accepted in the XML 1.0 standard, the serialization will fail with a
:exc:`ValueError` exception. Read also the W3C's explanation of `HTML, :exc:`ValueError` exception. Read also the W3C's explanation of `HTML,
XHTML, XML and Control Codes XHTML, XML and Control Codes
<http://www.w3.org/International/questions/qa-controls>`_. <https://www.w3.org/International/questions/qa-controls>`_.
.. _serialization-formats-json: .. _serialization-formats-json:
@ -300,7 +300,7 @@ The JSON serializer uses ``DjangoJSONEncoder`` for encoding. A subclass of
:class:`~decimal.Decimal`, ``Promise`` (``django.utils.functional.lazy()`` objects), :class:`~uuid.UUID` :class:`~decimal.Decimal`, ``Promise`` (``django.utils.functional.lazy()`` objects), :class:`~uuid.UUID`
A string representation of the object. A string representation of the object.
.. _ecma-262: http://www.ecma-international.org/ecma-262/5.1/#sec-15.9.1.15 .. _ecma-262: https://www.ecma-international.org/ecma-262/5.1/#sec-15.9.1.15
YAML YAML
---- ----

View File

@ -715,5 +715,5 @@ listed here because of the ``source`` flag passed to the previous command.
For more options like annotated HTML listings detailing missed lines, see the For more options like annotated HTML listings detailing missed lines, see the
`coverage.py`_ docs. `coverage.py`_ docs.
.. _coverage.py: http://coverage.readthedocs.io/ .. _coverage.py: https://coverage.readthedocs.io/
.. _install coverage.py: https://pypi.python.org/pypi/coverage .. _install coverage.py: https://pypi.python.org/pypi/coverage

View File

@ -161,7 +161,7 @@ Use the ``django.test.Client`` class to make requests.
HTTP request from the browser to the server should be passed HTTP request from the browser to the server should be passed
as ``HTTP_HOST``. as ``HTTP_HOST``.
.. _CGI: http://www.w3.org/CGI/ .. _CGI: https://www.w3.org/CGI/
If you already have the GET arguments in URL-encoded form, you can If you already have the GET arguments in URL-encoded form, you can
use that encoding instead of using the data argument. For example, use that encoding instead of using the data argument. For example,