Skip to content

Commit

Permalink
add assume_scheme to forms.URLField (#5)
Browse files Browse the repository at this point in the history
upstreamed as typeddjango#1929
  • Loading branch information
asottile-sentry authored Feb 5, 2024
1 parent 964aca8 commit bfe62c6
Showing 1 changed file with 1 addition and 0 deletions.
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

0 comments on commit bfe62c6

Please sign in to comment.