diff options
author | René 'Necoro' Neumann <necoro@necoro.net> | 2014-01-17 00:36:10 +0100 |
---|---|---|
committer | René 'Necoro' Neumann <necoro@necoro.net> | 2014-01-17 00:36:10 +0100 |
commit | 7dc8868361e0f174e211c9a3d158082df5c21a3c (patch) | |
tree | dd3fe351f8c953fe4756a6774bed32fe7467e0de /app/views/__init__.py | |
parent | f7d4c3c2c8bbcad07c41498e71c5a311f01e0f4b (diff) | |
download | kosten-7dc8868361e0f174e211c9a3d158082df5c21a3c.tar.gz kosten-7dc8868361e0f174e211c9a3d158082df5c21a3c.tar.bz2 kosten-7dc8868361e0f174e211c9a3d158082df5c21a3c.zip |
First statistics :)
Diffstat (limited to 'app/views/__init__.py')
-rw-r--r-- | app/views/__init__.py | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/app/views/__init__.py b/app/views/__init__.py index b8ae6b3..4f079c3 100644 --- a/app/views/__init__.py +++ b/app/views/__init__.py @@ -50,14 +50,16 @@ def page_not_found (error): return render_template('404.jinja', page = request.path), 404 # Now import the views -from . import categories, consts, expenses, user, api +from . import categories, consts, expenses, user, stats +#from . import api app.register_blueprint(expenses.mod) app.register_blueprint(user.mod, url_prefix='/user') app.register_blueprint(consts.mod, url_prefix='/const') app.register_blueprint(categories.mod, url_prefix='/cat') +app.register_blueprint(stats.mod, url_prefix='/stats') -for m in api.mods: - app.register_blueprint(m, url_prefix='/api') +#for m in api.mods: +# app.register_blueprint(m, url_prefix='/api') app.add_url_rule('/', endpoint = 'index', build_only = True) |