diff --git a/django-stubs/contrib/sites/managers.pyi b/django-stubs/contrib/sites/managers.pyi index f629ef4a2..bdf0e8492 100644 --- a/django-stubs/contrib/sites/managers.pyi +++ b/django-stubs/contrib/sites/managers.pyi @@ -1,9 +1,8 @@ from typing import TypeVar -from django.contrib.sites.models import Site from django.db import models -_T = TypeVar("_T", bound=Site) +_T = TypeVar("_T", bound=models.Model) class CurrentSiteManager(models.Manager[_T]): def __init__(self, field_name: str | None = ...) -> None: ...