For example- My query changes for different tables at different instances. I have a string input which tells me which table I have to access at a particular instance, how do I query in django with such varying table?
Usually we query models.Person.objects.filter(), where table_name=Person(which remains same in every query). How do we query when table_name is a variable?