This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from flask import Flask | |
from flask.ext.babel import Babel | |
from utils import LazyAwareJSONEncoder | |
app = Flask(__name__, static_url_path='') | |
app.config.from_pyfile(app.root_path + '/config.cfg') | |
app.json_encoder = LazyAwareJSONEncoder |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from flask import Flask, request, render_template | |
import config, database | |
app = Flask(__name__) | |
app.debug = config.DEBUG | |
import views | |
if __name__ == "__main__": | |
app.run() |
NewerOlder