Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[5.0] add assume_scheme to forms.URLField #1929

Merged
merged 2 commits into from
Feb 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions django-stubs/forms/fields.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -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: ...

Expand Down
3 changes: 0 additions & 3 deletions scripts/stubtest/allowlist_todo_django50.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down