diff options
| author | Ahmed Nassar <a.moh.nassar00@gmail.com> | 2025-03-08 16:35:10 +0200 |
|---|---|---|
| committer | Sarah Boyce <42296566+sarahboyce@users.noreply.github.com> | 2025-03-19 14:28:42 +0100 |
| commit | ec7044c706f48f5ab3d9e4c35e4078b9f9dcaaf2 (patch) | |
| tree | 728764e3cac25453c9936eaae272cc3cc019a017 /docs/ref/settings.txt | |
| parent | ed1e7c02c9db2cc28b3ab5621ce6315fcee54b27 (diff) | |
Fixed #36000 -- Deprecated HTTP as the default protocol in urlize and urlizetrunc.
Diffstat (limited to 'docs/ref/settings.txt')
| -rw-r--r-- | docs/ref/settings.txt | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/docs/ref/settings.txt b/docs/ref/settings.txt index 556cbb4b1e..ab82b539b0 100644 --- a/docs/ref/settings.txt +++ b/docs/ref/settings.txt @@ -2955,6 +2955,21 @@ enabled if a proxy which sets this header is in use. :setting:`USE_X_FORWARDED_HOST` takes priority over this setting. +.. setting:: URLIZE_ASSUME_HTTPS + +``URLIZE_ASSUME_HTTPS`` +----------------------- + +.. versionadded:: 6.0 +.. deprecated:: 6.0 + +Default: ``False`` + +Set this transitional setting to ``True`` to opt into using HTTPS as the +default protocol when none is provided in URLs processed by the +:tfilter:`urlize` and :tfilter:`urlizetrunc` template filters during the Django +6.x release cycle. + .. setting:: WSGI_APPLICATION ``WSGI_APPLICATION`` @@ -3766,6 +3781,7 @@ Security * :setting:`SECRET_KEY` * :setting:`SECRET_KEY_FALLBACKS` +* :setting:`URLIZE_ASSUME_HTTPS` * :setting:`X_FRAME_OPTIONS` Serialization |
