From 593d04d6e9dd44089e823651e6c5b4af3956c2cc Mon Sep 17 00:00:00 2001 From: Stanislav Mikhailov <54817925+StasGC@users.noreply.github.com> Date: Wed, 24 Nov 2021 01:13:45 +0300 Subject: [PATCH] Fixed the types in ManyToManyField according to their definition in Django. (#758) --- django-stubs/db/models/fields/related.pyi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/django-stubs/db/models/fields/related.pyi b/django-stubs/db/models/fields/related.pyi index 08b5bc4..9b00865 100644 --- a/django-stubs/db/models/fields/related.pyi +++ b/django-stubs/db/models/fields/related.pyi @@ -181,8 +181,8 @@ class ManyToManyField(RelatedField[_ST, _GT]): _pyi_private_set_type: Sequence[Any] _pyi_private_get_type: RelatedManager[Any] - rel_class: Any = ... - description: Any = ... + rel_class: ManyToManyRel = ... + description: str = ... has_null_arg: Any = ... swappable: bool = ... def __init__(