コード例 #1
0
ファイル: document.py プロジェクト: anndream/next2web
def index():
    doc = Document('create')
    return doc.render('document/index')
コード例 #2
0
ファイル: document.py プロジェクト: anndream/next2web
def data():
    doc = Document()
    
    getattr(doc, doc.request.args.pop(0).split('.')[0])()
    return doc.render('generic.json')
コード例 #3
0
ファイル: document.py プロジェクト: anndream/next2web
 def __init__(self, *args, **kwargs):
     Document.__init__(self, *args, **kwargs)
     self.storage = SessionStorage(prefix = "DocumentDesigner")