mirror of https://github.com/django/django.git
Updated various links to HTTPS and new locations.
This commit is contained in:
parent
cbce427c17
commit
514884e9a5
|
@ -104,7 +104,7 @@ The above code could be simplified by using the `JavaScript Cookie library
|
||||||
Django provides a view decorator which forces setting of the cookie:
|
Django provides a view decorator which forces setting of the cookie:
|
||||||
:func:`~django.views.decorators.csrf.ensure_csrf_cookie`.
|
:func:`~django.views.decorators.csrf.ensure_csrf_cookie`.
|
||||||
|
|
||||||
.. _BREACH: http://breachattack.com/
|
.. _BREACH: https://www.breachattack.com/
|
||||||
|
|
||||||
.. _acquiring-csrf-token-from-html:
|
.. _acquiring-csrf-token-from-html:
|
||||||
|
|
||||||
|
|
|
@ -138,7 +138,7 @@ Django's Git repository:
|
||||||
Credit the contributors in the commit message: "Thanks A for the report and B
|
Credit the contributors in the commit message: "Thanks A for the report and B
|
||||||
for review." Use git's `Co-Authored-By`_ as appropriate.
|
for review." Use git's `Co-Authored-By`_ as appropriate.
|
||||||
|
|
||||||
.. _Co-Authored-By: https://docs.github.com/en/github/committing-changes-to-your-project/creating-and-editing-commits/creating-a-commit-with-multiple-authors
|
.. _Co-Authored-By: https://docs.github.com/en/pull-requests/committing-changes-to-your-project/creating-and-editing-commits/creating-a-commit-with-multiple-authors
|
||||||
|
|
||||||
* For commits to a branch, prefix the commit message with the branch name.
|
* For commits to a branch, prefix the commit message with the branch name.
|
||||||
For example: "[1.4.x] Fixed #xxxxx -- Added support for mind reading."
|
For example: "[1.4.x] Fixed #xxxxx -- Added support for mind reading."
|
||||||
|
|
|
@ -10,7 +10,7 @@ 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: https://openlayers.org/
|
.. _OpenLayers: https://openlayers.org/
|
||||||
.. _NASA: https://earthdata.nasa.gov/
|
.. _NASA: https://www.earthdata.nasa.gov/
|
||||||
|
|
||||||
Field arguments
|
Field arguments
|
||||||
===============
|
===============
|
||||||
|
|
|
@ -315,7 +315,7 @@ transform do not change. For example::
|
||||||
similar to PostgreSQL's ``text`` type.
|
similar to PostgreSQL's ``text`` type.
|
||||||
|
|
||||||
.. _citext: https://www.postgresql.org/docs/current/citext.html
|
.. _citext: https://www.postgresql.org/docs/current/citext.html
|
||||||
.. _the performance considerations: https://www.postgresql.org/docs/current/citext.html#id-1.11.7.17.7
|
.. _the performance considerations: https://www.postgresql.org/docs/current/citext.html#id-1.11.7.19.9
|
||||||
|
|
||||||
.. admonition:: Case-insensitive collations
|
.. admonition:: Case-insensitive collations
|
||||||
|
|
||||||
|
|
|
@ -115,7 +115,7 @@ vulnerability allows and much worse).
|
||||||
alternatives like ``<a rel="noreferrer" ...>"`` for links to third-party
|
alternatives like ``<a rel="noreferrer" ...>"`` for links to third-party
|
||||||
sites.
|
sites.
|
||||||
|
|
||||||
.. _BREACH: http://breachattack.com/
|
.. _BREACH: https://www.breachattack.com/
|
||||||
.. _Origin header: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin
|
.. _Origin header: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin
|
||||||
.. _disable the referer: https://www.w3.org/TR/referrer-policy/#referrer-policy-delivery
|
.. _disable the referer: https://www.w3.org/TR/referrer-policy/#referrer-policy-delivery
|
||||||
|
|
||||||
|
|
|
@ -103,8 +103,8 @@ GZip middleware
|
||||||
should avoid using ``GZipMiddleware``. For more details, see the `the BREACH
|
should avoid using ``GZipMiddleware``. For more details, see the `the BREACH
|
||||||
paper (PDF)`_ and `breachattack.com`_.
|
paper (PDF)`_ and `breachattack.com`_.
|
||||||
|
|
||||||
.. _the BREACH paper (PDF): http://breachattack.com/resources/BREACH%20-%20SSL,%20gone%20in%2030%20seconds.pdf
|
.. _the BREACH paper (PDF): https://www.breachattack.com/resources/BREACH%20-%20SSL,%20gone%20in%2030%20seconds.pdf
|
||||||
.. _breachattack.com: http://breachattack.com
|
.. _breachattack.com: https://www.breachattack.com/
|
||||||
|
|
||||||
The ``django.middleware.gzip.GZipMiddleware`` compresses content for browsers
|
The ``django.middleware.gzip.GZipMiddleware`` compresses content for browsers
|
||||||
that understand GZip compression (all modern browsers).
|
that understand GZip compression (all modern browsers).
|
||||||
|
|
|
@ -242,7 +242,7 @@ CSRF
|
||||||
changes the form token value on every request (while keeping an invariant
|
changes the form token value on every request (while keeping an invariant
|
||||||
secret which can be used to validate the different tokens).
|
secret which can be used to validate the different tokens).
|
||||||
|
|
||||||
.. _BREACH: http://breachattack.com/
|
.. _BREACH: https://www.breachattack.com/
|
||||||
|
|
||||||
Database backends
|
Database backends
|
||||||
~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~
|
||||||
|
|
Loading…
Reference in New Issue