mirror of
https://github.com/django/django.git
synced 2025-10-30 09:06:13 +00:00
[2.0.x] Updated various links in docs to use HTTPS.
Backport of 7c81b28ebc from master
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -171,7 +171,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
|
||||
|
||||
@@ -864,4 +864,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
|
||||
|
||||
@@ -355,9 +355,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.
|
||||
|
||||
|
||||
@@ -378,7 +378,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
|
||||
------------------
|
||||
|
||||
@@ -951,7 +951,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
|
||||
|
||||
Reference in New Issue
Block a user