예제 #1
0
from todoapp import app

if __name__ == '__main__':
    app.run(debug=True)
예제 #2
0
from todoapp import app, urls

if __name__ == "__main__":
	app.debug = True
	app.run(host=app.config['HOST'], port=app.config['PORT'])

예제 #3
0
def run(no_debug):
    """
    start server
    """
    from todoapp import app
    app.run(debug=(not no_debug))
예제 #4
0
파일: runserver.py 프로젝트: wockan/tt-todo
from todoapp import app
app.run(debug=True)