def model_to_resource_type(model):
    if model is None:
        return "data"

    return force_text(model._meta.verbose_name_plural)

#
# String conversion
#
Register factory for app to defer links to.
dataset/ETHPy150Open kevin-brown/drf-json-api/rest_framework_json_api/utils.py/model_to_resource_type--crossover with--dataset/ETHPy150Open morepath/morepath/morepath/path.py/PathRegistry.register_defer_links