          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):
      """Represents a stored object.
      The object may be any picklable content."""
      allowed_methods = anon_allowed_methods = ('GET', 'PUT', 'DELETE')
  
      def get(self, request, auth, key):
          """Return a stored object, by unpickling the contents of a locally stored file."""
          pathname = os.path.join(OBJECT_STORE_DIR, key)
          if not os.path.exists(pathname):
 
</s> remove     def get(self, request, auth, key):
        """Return a stored object, by unpickling the contents of a locally stored file."""
 </s> add     def get(self, request, key):
        """
        Return a stored object, by unpickling the contents of a locally stored file.
        """ </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         pickle.dump(content, open(pathname, 'wb'))
 </s> add         pickle.dump(self.CONTENT, open(pathname, 'wb')) </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 put(self, request, auth, content, key):
        """Update/create a stored object, by pickling the request content to a locally stored file."""
 </s> add     def put(self, request, key):
        """
        Update/create a stored object, by pickling the request content to a locally stored file.
        """
class StoredObject(BaseView):
    """
    Represents a stored object.
    The object may be any picklable content.
    """
          remove_oldest_files(OBJECT_STORE_DIR, MAX_FILES)
          return Response(status.HTTP_201_CREATED, content, {'Location': reverse('stored-object', kwargs={'key':key})})
  
  
class StoredObject(BaseView):
    """
    Represents a stored object.
    The object may be any picklable content.
    """
class StoredObject(BaseView):
    """
    Represents a stored object.
    The object may be any picklable content.
    """
class StoredObject(BaseView):
    """
    Represents a stored object.
    The object may be any picklable content.
    """
class StoredObject(BaseView):
    """
    Represents a stored object.
    The object may be any picklable content.
    """
  
      def get(self, request, auth, key):
          """Return a stored object, by unpickling the contents of a locally stored file."""
          pathname = os.path.join(OBJECT_STORE_DIR, key)
          if not os.path.exists(pathname):
keep keep keep keep replace replace replace replace keep keep keep keep keep
 Fixing some of the last blocking issues 
examples/objectstore/views.py