Пример #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")