@method_decorator(csrf_exempt)
	def dispatch(self, request, *args, **kwargs):

		#if a response exception is raised, grab it and return it to django
		try:
			return super(Resource, self).dispatch(request, *args, **kwargs)
		except responses.SliverResponse, r:
			return r.response()
Make sure the request meets any global requirements and is exempt from csrf.
dataset/ETHPy150Open jarcoal/django-sliver/sliver/views.py/Resource.dispatch