Skip to content

Commit

Permalink
Remove null and validators arguments from `ManyToManyField.__init…
Browse files Browse the repository at this point in the history
…__` (#1720)
  • Loading branch information
flaeppe authored Sep 18, 2023
1 parent 5514e37 commit 395f43d
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions django-stubs/db/models/fields/related.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,6 @@ class ManyToManyField(RelatedField[_ST, _GT]):
max_length: int | None = ...,
unique: bool = ...,
blank: bool = ...,
null: bool = ...,
db_index: bool = ...,
default: Any = ...,
editable: bool = ...,
Expand All @@ -252,7 +251,6 @@ class ManyToManyField(RelatedField[_ST, _GT]):
db_column: str | None = ...,
db_comment: str | None = ...,
db_tablespace: str | None = ...,
validators: Iterable[validators._ValidatorCallable] = ...,
error_messages: _ErrorMessagesMapping | None = ...,
) -> None: ...
# class access
Expand Down

0 comments on commit 395f43d

Please sign in to comment.