From 429cf45e489491e279496d942da118e1c6f976ed Mon Sep 17 00:00:00 2001 From: Petter Friberg Date: Mon, 18 Sep 2023 08:04:51 +0200 Subject: [PATCH] Remove `null` and `validators` arguments from `ManyToManyField.__init__` --- django-stubs/db/models/fields/related.pyi | 2 -- 1 file changed, 2 deletions(-) diff --git a/django-stubs/db/models/fields/related.pyi b/django-stubs/db/models/fields/related.pyi index bccf8a8ab..6c78b5d32 100644 --- a/django-stubs/db/models/fields/related.pyi +++ b/django-stubs/db/models/fields/related.pyi @@ -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 = ..., @@ -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