Skip to content

Commit

Permalink
Loosen bound on CurrentSiteManager manager type var (#2308)
Browse files Browse the repository at this point in the history
  • Loading branch information
flaeppe authored Aug 2, 2024
1 parent 7fe476c commit 10b3058
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions django-stubs/contrib/sites/managers.pyi
Original file line number Diff line number Diff line change
@@ -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: ...

0 comments on commit 10b3058

Please sign in to comment.