diff options
author | Coen van der Kamp <coen@fourdigits.nl> | 2023-03-08 20:12:34 +0100 |
---|---|---|
committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2023-04-28 06:58:10 +0200 |
commit | 7bbbadc69383f0a2b99253e153b974f8783e876d (patch) | |
tree | f0e4e8a38904aa9772fdae066dbda9dfd41d08b6 /docs/releases/5.0.txt | |
parent | 070cbac0dbf6a09b55aad322137ab168b75bf56b (diff) | |
download | django-7bbbadc69383f0a2b99253e153b974f8783e876d.tar.gz |
Fixed #34380 -- Allowed specifying a default URL scheme in forms.URLField.
This also deprecates "http" as the default scheme.
Diffstat (limited to 'docs/releases/5.0.txt')
-rw-r--r-- | docs/releases/5.0.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/releases/5.0.txt b/docs/releases/5.0.txt index 48df713375..dafdc10d62 100644 --- a/docs/releases/5.0.txt +++ b/docs/releases/5.0.txt @@ -245,6 +245,9 @@ Forms :ref:`Choices classes <field-choices-enum-types>` directly instead of requiring expansion with the ``choices`` attribute. +* The new ``assume_scheme`` argument for :class:`~django.forms.URLField` allows + specifying a default URL scheme. + Generic Views ~~~~~~~~~~~~~ @@ -403,6 +406,9 @@ Miscellaneous * The ``ForeignObject.get_reverse_joining_columns()`` method is deprecated. +* The default scheme for ``forms.URLField`` will change from ``"http"`` to + ``"https"`` in Django 6.0. + Features removed in 5.0 ======================= |