Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/django/django
/ get_queryset
Method
get_queryset
tests/admin_views/models.py:960–961 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
958
959
class
_Manager(models.Manager):
960
def
get_queryset(self):
961
return
super().get_queryset().filter(pk__gt=1)
962
963
964
class
FilteredManager(models.Model):
Callers
6
test_default_ordering
Method · 0.45
test_specified_ordering
Method · 0.45
test_specified_ordering_by_f_expression
Method · 0.45
test_dynamic_ordering
Method · 0.45
test_default_ordering
Method · 0.45
test_specified_ordering
Method · 0.45
Calls
1
filter
Method · 0.45
Tested by
6
test_default_ordering
Method · 0.36
test_specified_ordering
Method · 0.36
test_specified_ordering_by_f_expression
Method · 0.36
test_dynamic_ordering
Method · 0.36
test_default_ordering
Method · 0.36
test_specified_ordering
Method · 0.36