In variable called object_type I store values like: Profile or Company which are names of models available in the app. Both models has field called uuid.
I need to something like this:
get_object_or_404(object_type, uuid=uuid_from_request)
how can I pass object_type value (Profile or Company) to query correct model?