mirror of
https://github.com/django/django.git
synced 2025-11-07 07:15:35 +00:00
Fixed #34380 -- Allowed specifying a default URL scheme in forms.URLField.
This also deprecates "http" as the default scheme.
This commit is contained in:
committed by
Mariusz Felisiak
parent
070cbac0db
commit
7bbbadc693
@@ -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
|
||||
=======================
|
||||
|
||||
|
||||
Reference in New Issue
Block a user