From 6b3b6be3c139d1165925ee02e39b8ea3135e368f Mon Sep 17 00:00:00 2001 From: Dmitry Groshev Date: Thu, 12 Dec 2019 18:50:59 +0000 Subject: [PATCH] add .model field to _BaseQuerySet (#268) --- django-stubs/db/models/query.pyi | 1 + 1 file changed, 1 insertion(+) diff --git a/django-stubs/db/models/query.pyi b/django-stubs/db/models/query.pyi index c2c3eb8..5322414 100644 --- a/django-stubs/db/models/query.pyi +++ b/django-stubs/db/models/query.pyi @@ -31,6 +31,7 @@ _T = TypeVar("_T", bound=models.Model, covariant=True) _QS = TypeVar("_QS", bound="_BaseQuerySet") class _BaseQuerySet(Generic[_T], Sized): + model: Type[_T] query: Query def __init__( self,