Is there any way to clear django.db.connection.queries? December 24, 2023 by Tarik You can call reset_queries() from the django.db module. from django.db import reset_queries reset_queries()