mirror of
https://github.com/django/django.git
synced 2025-08-04 10:59:45 +00:00
[5.0.x] Refs #34380 -- Added FORMS_URLFIELD_ASSUME_HTTPS transitional setting.
This allows early adoption of the new default "https".
Backport of a4931cd75a
from main.
This commit is contained in:
parent
432bfa2615
commit
92af3d4d23
9 changed files with 113 additions and 13 deletions
|
@ -1154,7 +1154,9 @@ For each field, we describe the default widget used if you don't specify
|
|||
.. deprecated:: 5.0
|
||||
|
||||
The default value for ``assume_scheme`` will change from ``"http"`` to
|
||||
``"https"`` in Django 6.0.
|
||||
``"https"`` in Django 6.0. Set :setting:`FORMS_URLFIELD_ASSUME_HTTPS`
|
||||
transitional setting to ``True`` to opt into using ``"https"`` during
|
||||
the Django 5.x release cycle.
|
||||
|
||||
``UUIDField``
|
||||
-------------
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue