cherryext/orun/app.py

19 lines
321 B
Python
Raw Normal View History

2013-04-30 09:49:34 +04:00
from orun import js
class Application(object):
AJAX_URL = '/ajax_callback'
def __init__(self, title=''):
self.title = title
2013-05-12 05:40:22 +04:00
self.configure()
def configure(self):
pass
2013-04-30 09:49:34 +04:00
def main(self):
pass
def run(self):
js.AJAX_URL = self.AJAX_URL