ability to send a new revision of a wiki page

This commit is contained in:
Romain Bignon 2010-10-16 10:06:04 +02:00
commit 66335a52c8
4 changed files with 38 additions and 9 deletions

View file

@ -24,10 +24,14 @@ class Content(CapBaseObject):
self.add_field('title', basestring)
self.add_field('author', basestring)
self.add_field('content', basestring)
self.add_field('revision', basestring)
class ICapContent(IBaseCap):
def get_content(self, id):
def get_content(self, id, revision=None):
raise NotImplementedError()
def push_content(self, content):
def log_content(self, id):
raise NotImplementedError()
def push_content(self, content, message=None):
raise NotImplementedError()