my question is to know if you can and how it would be to modify the QuerySet by default that a field with the ManyToMany model brings, because as I understand the default query is:
Modelo.objects.all()
But I would like to change that query by a filter, I know how to assemble the filter query but I do not know where or where to place or modify the query, that is, I do not know if it is in the ModelAdmin or in the Models.