def get_model_resource_url(self, model, relationship=None):

		resource_name = self.get_model_resource_name(relationship)

		if resource_name is None:
			raise ImproperlyConfigured('URIMixin requires either a definition of "model_resource_name" or an implementation of "get_model_resource_name()" or "get_model_resource_url()"')

		return reverse(resource_name, kwargs=self.get_resource_url_kwargs(model, relationship))
Return a resource url for a given model
dataset/ETHPy150Open jarcoal/django-sliver/sliver/mixins.py/URIMixin.get_model_resource_url