          if hasattr(instance, 'get_absolute_url'):
              headers['Location'] = instance.get_absolute_url()
          return Response(status.HTTP_201_CREATED, instance, headers)
  
      def get(self, request, auth, *args, **kwargs):
          try:
              if args:
                  # If we have any none kwargs then assume the last represents the primrary key
                  instance = self.model.objects.get(pk=args[-1], **kwargs)
              else:
 
</s> remove     def delete(self, request, auth, *args, **kwargs):
 </s> add     def delete(self, request, *args, **kwargs): </s> remove     def put(self, request, auth, content, *args, **kwargs):
 </s> add     def put(self, request, *args, **kwargs): </s> remove             if self.method in ('PUT', 'POST'):
                response_obj = func(request, auth_context, self.CONTENT, *args, **kwargs)

            else:
                response_obj = func(request, auth_context, *args, **kwargs)
 </s> add             response_obj = func(request, *args, **kwargs) </s> remove             for (key, val) in content.items():
 </s> add             for (key, val) in self.CONTENT.items(): </s> remove     def get(self, request, auth, *args, **kwargs):
 </s> add     def get(self, request, *args, **kwargs):
    def get(self, request, *args, **kwargs):
          if hasattr(instance, 'get_absolute_url'):
              headers['Location'] = instance.get_absolute_url()
          return Response(status.HTTP_201_CREATED, instance, headers)
  
    def get(self, request, *args, **kwargs):
          try:
              if args:
                  # If we have any none kwargs then assume the last represents the primrary key
                  instance = self.model.objects.get(pk=args[-1], **kwargs)
              else:
keep keep keep keep replace keep keep keep keep keep
 depercate auth and content arguments to the request handler methods - yea :) 
djangorestframework/modelresource.py