This is not easy to do. Each filter is applied differently to the query object, so you won’t find it clearly laid out "filter1", "filter2", "filter3".
Check out myqueryset.query.__dict__- the incoming filter is immediately divided into the corresponding areas and the record is not saved. Details c django.db.models.sql.query.Query.
I would check SQL instead.
print myqueryset.query
source
share