def get_related_field_model(field):
    """Returns a field's related field model's app and name or None"""

    if field.rel:
        model = field.rel.to
        return {
            'app': model._meta.app_label,
            'model': model._meta.object_name
        }
    else:
        return None