Updated various links in docs to use HTTPS.
This commit is contained in:
parent
762bd34c36
commit
7c81b28ebc
|
@ -13,7 +13,7 @@ Windows Authentication or Apache and `mod_authnz_ldap`_, `CAS`_, `Cosign`_,
|
|||
.. _CAS: https://www.apereo.org/projects/cas
|
||||
.. _Cosign: http://weblogin.org
|
||||
.. _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
|
||||
``REMOTE_USER`` environment variable for use in the underlying application. In
|
||||
|
|
|
@ -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
|
||||
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
|
||||
|
||||
Authentication with ``mod_wsgi``
|
||||
|
|
|
@ -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
|
||||
: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
|
||||
look like in JSON:
|
||||
|
|
|
@ -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
|
||||
participating in a March Madness contest.
|
||||
|
||||
.. _ReportLab: http://www.reportlab.com/opensource/
|
||||
.. _ReportLab: https://www.reportlab.com/opensource/
|
||||
.. _kusports.com: http://www.kusports.com/
|
||||
|
||||
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.
|
||||
|
||||
.. _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
|
||||
===============
|
||||
|
|
|
@ -265,10 +265,10 @@ associated tests will be skipped.
|
|||
.. _jinja2: https://pypi.python.org/pypi/jinja2
|
||||
.. _numpy: https://pypi.python.org/pypi/numpy
|
||||
.. _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/
|
||||
.. _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
|
||||
.. _selenium: https://pypi.python.org/pypi/selenium
|
||||
.. _sqlparse: https://pypi.python.org/pypi/sqlparse
|
||||
|
|
|
@ -65,7 +65,7 @@ Release cadence
|
|||
===============
|
||||
|
||||
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,
|
||||
3.1, 3.2 (LTS), etc.
|
||||
|
||||
|
|
|
@ -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
|
||||
</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
|
||||
|
||||
|
|
|
@ -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
|
||||
`OpenLayers`_-powered maps, with a base WMS layer provided by `NASA`_.
|
||||
|
||||
.. _OpenLayers: http://openlayers.org/
|
||||
.. _OpenLayers: https://openlayers.org/
|
||||
.. _NASA: https://earthdata.nasa.gov/
|
||||
|
||||
Field arguments
|
||||
|
|
|
@ -165,7 +165,7 @@ Keyword Argument Description
|
|||
representation -- the default value is 8.
|
||||
===================== =====================================================
|
||||
|
||||
__ http://www.w3.org/Graphics/SVG/
|
||||
__ https://www.w3.org/Graphics/SVG/
|
||||
|
||||
``Azimuth``
|
||||
===========
|
||||
|
|
|
@ -19,7 +19,7 @@ that ``geoip2`` can leverage the C library's faster speed.
|
|||
|
||||
__ https://geoip2.readthedocs.io/
|
||||
__ 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
|
||||
|
||||
Example
|
||||
|
|
|
@ -852,4 +852,4 @@ Example::
|
|||
.. 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).
|
||||
.. [#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).
|
||||
|
|
|
@ -225,7 +225,7 @@ __ https://www.python.org/ftp/python/
|
|||
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
|
||||
``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=/usr/local/pgsql/bin:$PATH
|
||||
|
||||
__ http://www.kyngchaos.com/software/frameworks
|
||||
__ http://www.kyngchaos.com/software/postgres
|
||||
__ https://www.kyngchaos.com/software/frameworks
|
||||
__ https://www.kyngchaos.com/software/postgres
|
||||
|
||||
.. _psycopg2_kyngchaos:
|
||||
|
||||
|
|
|
@ -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
|
||||
position.
|
||||
|
||||
.. _OpenLayers: http://openlayers.org/
|
||||
.. _OpenLayers: https://openlayers.org/
|
||||
.. _Open Street Map: https://www.openstreetmap.org/
|
||||
.. _Vector Map Level 0: http://earth-info.nga.mil/publications/vmap0.html
|
||||
.. _OSGeo: http://www.osgeo.org
|
||||
|
|
|
@ -344,9 +344,9 @@ mentioned above. Feel free to override this method to use your own
|
|||
hashing algorithm.
|
||||
|
||||
.. _`far future Expires headers`: https://developer.yahoo.com/performance/rules.html#expires
|
||||
.. _`@import`: http://www.w3.org/TR/CSS2/cascade.html#at-import
|
||||
.. _`url()`: http://www.w3.org/TR/CSS2/syndata.html#uri
|
||||
.. _`Cascading Style Sheets`: http://www.w3.org/Style/CSS/
|
||||
.. _`@import`: https://www.w3.org/TR/CSS2/cascade.html#at-import
|
||||
.. _`url()`: https://www.w3.org/TR/CSS2/syndata.html#uri
|
||||
.. _`Cascading Style Sheets`: https://www.w3.org/Style/CSS/
|
||||
|
||||
``CachedStaticFilesStorage``
|
||||
----------------------------
|
||||
|
|
|
@ -942,7 +942,7 @@ They share this interface:
|
|||
|
||||
All parameters should be strings, except ``categories``, which should be a
|
||||
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
|
||||
:exc:`ValueError` when producing the feed.
|
||||
|
||||
|
|
|
@ -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
|
||||
may need to set the :setting:`SECURE_PROXY_SSL_HEADER` setting.
|
||||
|
||||
.. _nginx: http://nginx.org
|
||||
.. _nginx: https://nginx.org
|
||||
|
||||
Session middleware
|
||||
------------------
|
||||
|
|
|
@ -958,7 +958,7 @@ Without passing ``safe=False``, a :exc:`TypeError` will be raised.
|
|||
.. warning::
|
||||
|
||||
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
|
||||
reason, Django does not allow passing non-dict objects to the
|
||||
:class:`~django.http.JsonResponse` constructor by default. However, most
|
||||
|
|
|
@ -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).
|
||||
|
||||
.. _`The Django template language: For Python programmers`: ../templates_python/
|
||||
.. _Smarty: http://www.smarty.net/
|
||||
.. _Smarty: https://www.smarty.net/
|
||||
.. _Jinja2: http://jinja.pocoo.org/
|
||||
|
||||
Templates
|
||||
|
|
|
@ -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
|
||||
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
|
||||
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`_
|
||||
(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,
|
||||
:func:`~django.views.decorators.cache.never_cache` is a view decorator that
|
||||
|
|
|
@ -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.
|
||||
|
||||
.. _Elastic: https://www.elastic.co/
|
||||
.. _Solr: http://lucene.apache.org/solr/
|
||||
.. _Solr: https://lucene.apache.org/solr/
|
||||
|
||||
PostgreSQL support
|
||||
~~~~~~~~~~~~~~~~~~
|
||||
|
|
|
@ -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
|
||||
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
|
||||
========
|
||||
|
|
|
@ -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`_.
|
||||
|
||||
.. _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
|
||||
.. _Wikipedia article: https://en.wikipedia.org/wiki/Internationalization_and_localization
|
||||
|
||||
|
|
|
@ -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
|
||||
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
|
||||
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
|
||||
the ``xgettext --version`` command works properly. Do not attempt to use Django
|
||||
|
|
|
@ -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.
|
||||
|
||||
.. _Apache: https://httpd.apache.org/
|
||||
.. _nginx: http://nginx.org/
|
||||
.. _nginx: https://nginx.org/
|
||||
.. _mod_wsgi: http://www.modwsgi.org/
|
||||
|
||||
.. _database-installation:
|
||||
|
|
|
@ -410,15 +410,15 @@ performance gains for your application to outweigh the potential risks.
|
|||
|
||||
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
|
||||
'standard' Python implementation is in C). PyPy can offer substantial
|
||||
`PyPy <https://pypy.org/>`_ is an implementation of Python in Python itself
|
||||
(the 'standard' Python implementation is in C). PyPy can offer substantial
|
||||
performance gains, typically for heavyweight applications.
|
||||
|
||||
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
|
||||
libraries you rely on.
|
||||
|
||||
|
|
|
@ -164,8 +164,8 @@ Identifier Information
|
|||
serializer is only available if PyYAML_ is installed.
|
||||
========== ==============================================================
|
||||
|
||||
.. _json: http://json.org/
|
||||
.. _PyYAML: http://www.pyyaml.org/
|
||||
.. _json: https://json.org/
|
||||
.. _PyYAML: https://www.pyyaml.org/
|
||||
|
||||
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
|
||||
:exc:`ValueError` exception. Read also the W3C's explanation of `HTML,
|
||||
XHTML, XML and Control Codes
|
||||
<http://www.w3.org/International/questions/qa-controls>`_.
|
||||
<https://www.w3.org/International/questions/qa-controls>`_.
|
||||
|
||||
.. _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`
|
||||
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
|
||||
----
|
||||
|
|
|
@ -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
|
||||
`coverage.py`_ docs.
|
||||
|
||||
.. _coverage.py: http://coverage.readthedocs.io/
|
||||
.. _coverage.py: https://coverage.readthedocs.io/
|
||||
.. _install coverage.py: https://pypi.python.org/pypi/coverage
|
||||
|
|
|
@ -161,7 +161,7 @@ Use the ``django.test.Client`` class to make requests.
|
|||
HTTP request from the browser to the server should be passed
|
||||
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
|
||||
use that encoding instead of using the data argument. For example,
|
||||
|
|
Loading…
Reference in New Issue