Tag app as generic app/

So in the first part of DJango course Mosh show us how to query a generic relation and in the view he is using TaggedItem.object.get_for_model(Product) to get the content type. But what if i want the parameter for the get_for_model to be dynamicly calculated, lets say i want the have the ImageViewSet that can automaticly determine if i have a Product or an Article etc