diff options
| author | Alexis Metaireau <alexis@notmyidea.org> | 2011-10-15 02:24:02 +0200 |
|---|---|---|
| committer | Alexis Metaireau <alexis@notmyidea.org> | 2011-10-15 02:24:02 +0200 |
| commit | d9c7977a59acc55342cb2dbf7f9649df9cc56472 (patch) | |
| tree | e587115d71ed59dad57d36aa2ed461706e3b6a87 /budget/run.py | |
| parent | c54fac69c948cca1515ee2e9883beffb5bc1318e (diff) | |
| download | ihatemoney-mirror-d9c7977a59acc55342cb2dbf7f9649df9cc56472.zip ihatemoney-mirror-d9c7977a59acc55342cb2dbf7f9649df9cc56472.tar.gz ihatemoney-mirror-d9c7977a59acc55342cb2dbf7f9649df9cc56472.tar.bz2 | |
fix a bit the UI (identifier on bill's list)
Diffstat (limited to 'budget/run.py')
| -rw-r--r-- | budget/run.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/budget/run.py b/budget/run.py index 9bb07f4..da1d453 100644 --- a/budget/run.py +++ b/budget/run.py @@ -1,8 +1,9 @@ -from web import main, db, mail, babel +from web import main, db, mail from api import api import os from flask import * +from flaskext.babel import Babel app = Flask(__name__) app.config.from_object("default_settings") @@ -19,7 +20,7 @@ db.create_all() mail.init_app(app) # translations -babel.init_app(app) +babel = Babel(app) @babel.localeselector def get_locale(): |
