1
0
mirror of https://github.com/django/django.git synced 2025-04-22 00:04:43 +00:00

[1.11.x] Fixed #28435 -- Removed inaccurate warning about SECURE_HSTS_PRELOAD.

Backport of c7d58c6f43b2d1db5d01f32451bb9ce46d69c5eb from master
This commit is contained in:
Tim Graham 2017-07-25 15:12:50 -04:00
parent b6620dee72
commit 7386029249

View File

@ -2157,11 +2157,6 @@ the ``preload`` directive to the :ref:`http-strict-transport-security`
header. It has no effect unless :setting:`SECURE_HSTS_SECONDS` is set to a
non-zero value.
.. warning::
Setting this incorrectly can irreversibly (for at least several months,
depending on browser releases) break your site. Read the
:ref:`http-strict-transport-security` documentation first.
.. setting:: SECURE_HSTS_SECONDS
``SECURE_HSTS_SECONDS``