Skip to content

Commit

Permalink
Remove "django.forms.Field.deconstruct"
Browse files Browse the repository at this point in the history
This method doesn't exist on upstream Django 4.2.
  • Loading branch information
brianhelba committed Sep 7, 2023
1 parent 68aef5d commit 27fb6c6
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
1 change: 0 additions & 1 deletion django-stubs/forms/fields.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@ class Field:
def widget_attrs(self, widget: Widget) -> dict[str, Any]: ...
def has_changed(self, initial: Any | None, data: Any | None) -> bool: ...
def get_bound_field(self, form: BaseForm, field_name: str) -> BoundField: ...
def deconstruct(self) -> Any: ...

class CharField(Field):
max_length: int | None
Expand Down
3 changes: 0 additions & 3 deletions scripts/stubtest/allowlist_todo.txt
Original file line number Diff line number Diff line change
Expand Up @@ -583,7 +583,6 @@ django.contrib.gis.forms.ChoiceWidget
django.contrib.gis.forms.DateTimeBaseInput
django.contrib.gis.forms.EmailInput.__slotnames__
django.contrib.gis.forms.Field.__deepcopy__
django.contrib.gis.forms.Field.deconstruct
django.contrib.gis.forms.Field.hidden_widget
django.contrib.gis.forms.FileField.bound_data
django.contrib.gis.forms.FileInput.allow_multiple_selected
Expand Down Expand Up @@ -2052,7 +2051,6 @@ django.forms.ChoiceWidget
django.forms.DateTimeBaseInput
django.forms.EmailInput.__slotnames__
django.forms.Field.__deepcopy__
django.forms.Field.deconstruct
django.forms.Field.hidden_widget
django.forms.FileField.bound_data
django.forms.FileInput.allow_multiple_selected
Expand Down Expand Up @@ -2086,7 +2084,6 @@ django.forms.boundfield.BoundField.subwidgets
django.forms.boundfield.BoundWidget.__html__
django.forms.fields.ChoiceField.__deepcopy__
django.forms.fields.Field.__deepcopy__
django.forms.fields.Field.deconstruct
django.forms.fields.Field.hidden_widget
django.forms.fields.FileField.bound_data
django.forms.fields.MultiValueField.__deepcopy__
Expand Down

0 comments on commit 27fb6c6

Please sign in to comment.