diff --git a/django-stubs/forms/fields.pyi b/django-stubs/forms/fields.pyi index ef0e7d830..df9b6893f 100644 --- a/django-stubs/forms/fields.pyi +++ b/django-stubs/forms/fields.pyi @@ -307,6 +307,7 @@ class URLField(CharField): localize: bool = ..., disabled: bool = ..., label_suffix: str | None = ..., + assume_scheme: str | None = ..., ) -> None: ... def to_python(self, value: Any | None) -> str | None: ... diff --git a/scripts/stubtest/allowlist_todo_django50.txt b/scripts/stubtest/allowlist_todo_django50.txt index da17fabd3..5410561ae 100644 --- a/scripts/stubtest/allowlist_todo_django50.txt +++ b/scripts/stubtest/allowlist_todo_django50.txt @@ -85,7 +85,6 @@ django.contrib.gis.forms.BoundField.get_context django.contrib.gis.forms.BoundField.template_name django.contrib.gis.forms.ClearableFileInput.checked django.contrib.gis.forms.Field.__init__ -django.contrib.gis.forms.URLField.__init__ django.contrib.gis.forms.fields_for_model django.contrib.gis.geos.geometry.GEOSGeometryBase.equals_identical django.contrib.gis.geos.prototypes.io.DEFAULT_TRIM_VALUE @@ -255,12 +254,10 @@ django.forms.BoundField.get_context django.forms.BoundField.template_name django.forms.ClearableFileInput.checked django.forms.Field.__init__ -django.forms.URLField.__init__ django.forms.boundfield.BoundField.get_context django.forms.boundfield.BoundField.template_name django.forms.fields.CallableChoiceIterator django.forms.fields.Field.__init__ -django.forms.fields.URLField.__init__ django.forms.fields_for_model django.forms.forms.BaseForm._html_output django.forms.models.BaseModelFormSet.save_existing