Obtenez ContentType avec 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)