Obtenga contentType con django get_model
apps.get_model('contenttypes', 'ContentType')
iamabhay
apps.get_model('contenttypes', 'ContentType')
ctype = ContentType.objects.get(model='user')
related_to_user = Room.objects.filter(content_type=ctype)