@classmethod
    def build_url_name(cls, name, name_prefix=None):
        if name_prefix is None:
            name_prefix = 'api_{0}'.format(
                cls.__name__.replace('Resource', '').lower()
            )

        name_prefix = name_prefix.rstrip('_')
        return '_'.join([name_prefix, name])
Given a ``name`` & an optional ``name_prefix``, this generates a name
dataset/ETHPy150Open toastdriven/restless/restless/dj.py/DjangoResource.build_url_name