MCPcopy
hub / github.com/django/django / get_queryset

Method get_queryset

django/contrib/sites/managers.py:60–65  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

58 return self.__field_name
59
60 def get_queryset(self):
61 return (
62 super()
63 .get_queryset()
64 .filter(**{self._get_field_name() + "__id": settings.SITE_ID})
65 )

Callers

nothing calls this directly

Calls 2

_get_field_nameMethod · 0.95
filterMethod · 0.45

Tested by

no test coverage detected