Skip to content

Commit

Permalink
5.0: Update django.forms.models
Browse files Browse the repository at this point in the history
  • Loading branch information
JaeHyuckSa committed May 9, 2024
1 parent b0858a7 commit ca54182
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 1 addition & 0 deletions django-stubs/forms/models.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ def fields_for_model(
field_classes: Mapping[str, type[Field]] | None = ...,
*,
apply_limit_choices_to: bool = ...,
form_declared_fields: _Fields | None = ...,
) -> dict[str, Any]: ...

class ModelFormOptions(Generic[_M]):
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 @@ -22,7 +22,6 @@ django.contrib.gis.db.models.Prefetch.get_current_querysets
django.contrib.gis.db.models.Q.identity
django.contrib.gis.db.models.When.allowed_default
django.contrib.gis.forms.ClearableFileInput.checked
django.contrib.gis.forms.fields_for_model
django.contrib.gis.geos.prototypes.io.DEFAULT_TRIM_VALUE
django.contrib.gis.management
django.contrib.gis.management.commands
Expand Down Expand Up @@ -89,7 +88,5 @@ django.db.models.sql.query.Query.join
django.db.models.sql.query.Query.resolve_lookup_value
django.db.models.sql.query.Query.setup_joins
django.forms.ClearableFileInput.checked
django.forms.fields_for_model
django.forms.models.fields_for_model
django.forms.widgets.ClearableFileInput.checked
django.template.autoreload

0 comments on commit ca54182

Please sign in to comment.