ability to send a new revision of a wiki page
This commit is contained in:
parent
570459f4e2
commit
66335a52c8
4 changed files with 38 additions and 9 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue