We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
CurrentSiteManager
1 parent 7fe476c commit 10b3058Copy full SHA for 10b3058
django-stubs/contrib/sites/managers.pyi
@@ -1,9 +1,8 @@
1
from typing import TypeVar
2
3
-from django.contrib.sites.models import Site
4
from django.db import models
5
6
-_T = TypeVar("_T", bound=Site)
+_T = TypeVar("_T", bound=models.Model)
7
8
class CurrentSiteManager(models.Manager[_T]):
9
def __init__(self, field_name: str | None = ...) -> None: ...
0 commit comments