      def post(self, request, auth, content):
          """Create a new stored object, with a unique key."""
          key = str(uuid.uuid1())
          pathname = os.path.join(OBJECT_STORE_DIR, key)
          pickle.dump(content, open(pathname, 'wb'))
          remove_oldest_files(OBJECT_STORE_DIR, MAX_FILES)
          return Response(status.HTTP_201_CREATED, content, {'Location': reverse('stored-object', kwargs={'key':key})})
  
  
  class StoredObject(Resource):
 
</s> remove     def post(self, request, auth, content):
        """Create a new stored object, with a unique key."""
 </s> add     def post(self, request):
        """
        Create a new stored object, with a unique key.
        """ </s> remove         return Response(status.HTTP_201_CREATED, content, {'Location': reverse('stored-object', kwargs={'key':key})})
 </s> add         return Response(status.HTTP_201_CREATED, self.CONTENT, {'Location': reverse('stored-object', kwargs={'key':key})}) </s> remove class StoredObject(Resource):
    """Represents a stored object.
    The object may be any picklable content."""
    allowed_methods = anon_allowed_methods = ('GET', 'PUT', 'DELETE')
 </s> add class StoredObject(BaseView):
    """
    Represents a stored object.
    The object may be any picklable content.
    """ </s> remove         pickle.dump(content, open(pathname, 'wb'))
        return content
 </s> add         pickle.dump(self.CONTENT, open(pathname, 'wb'))
        return self.CONTENT </s> remove     def delete(self, request, auth, key):
        """Delete a stored object, by removing it's pickled file."""
 </s> add     def delete(self, request):
        """
        Delete a stored object, by removing it's pickled file.
        """
        pickle.dump(self.CONTENT, open(pathname, 'wb'))
      def post(self, request, auth, content):
          """Create a new stored object, with a unique key."""
          key = str(uuid.uuid1())
          pathname = os.path.join(OBJECT_STORE_DIR, key)
        pickle.dump(self.CONTENT, open(pathname, 'wb'))
          remove_oldest_files(OBJECT_STORE_DIR, MAX_FILES)
          return Response(status.HTTP_201_CREATED, content, {'Location': reverse('stored-object', kwargs={'key':key})})
  
  
  class StoredObject(Resource):
keep keep keep keep replace keep keep keep keep keep
 Fixing some of the last blocking issues 
examples/objectstore/views.py