예제 #1
0
def index():
    doc = Document('create')
    return doc.render('document/index')
예제 #2
0
def data():
    doc = Document()
    
    getattr(doc, doc.request.args.pop(0).split('.')[0])()
    return doc.render('generic.json')
예제 #3
0
 def __init__(self, *args, **kwargs):
     Document.__init__(self, *args, **kwargs)
     self.storage = SessionStorage(prefix = "DocumentDesigner")