Mercurial > kraina_muminkow
diff frontend/mfrontend/__init__.py @ 9:9a0a9fa7f91d
Dodałem prototyp listy zadań w systemie
author | Michał Rudowicz <michal.rudowicz@fl9.eu> |
---|---|
date | Mon, 28 Feb 2011 19:25:51 +0100 |
parents | e0061735c327 |
children | 69ecfe51d585 |
line wrap: on
line diff
--- a/frontend/mfrontend/__init__.py Mon Feb 28 12:08:57 2011 +0100 +++ b/frontend/mfrontend/__init__.py Mon Feb 28 19:25:51 2011 +0100 @@ -4,6 +4,7 @@ import flask from ConfigParser import SafeConfigParser, NoSectionError from mfrontend.views.frontend import frontend +from mfrontend.views.jobcontrol import jobcontrol from mfrontend import db, utils @@ -22,6 +23,7 @@ app = flask.Flask(__name__) app.register_module(frontend) +app.register_module(jobcontrol, url_prefix="/jobs") app.config.from_object(__name__) app.config.from_envvar('MFRONTEND_SETTINGS', silent=True)