I am using Django\'s Rest Framework, and am trying to assert the number of queries for an endpoint in a test case. I am using django.db.connection.queries to ge
django.db.connection.queries