def get_related_models(model):
    """
    Get all related models by model
    :param model: Model
    :return: list of Models
    """
    related_models = [rel.model for rel in model._meta.get_all_related_objects()]
    return related_models