aboutsummaryrefslogtreecommitdiff
path: root/pyaggr3g470r/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyaggr3g470r/__init__.py')
-rw-r--r--pyaggr3g470r/__init__.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/pyaggr3g470r/__init__.py b/pyaggr3g470r/__init__.py
index 5044d344..36f95bc0 100644
--- a/pyaggr3g470r/__init__.py
+++ b/pyaggr3g470r/__init__.py
@@ -42,4 +42,8 @@ app.jinja_env.filters['datetime'] = format_datetime
gravatar = Gravatar(app, size=100, rating='g', default='retro',
force_default=False, use_ssl=False, base_url=None)
-from pyaggr3g470r import views
+# Views
+from flask.ext.restful import Api
+api = Api(app)
+
+from pyaggr3g470r import views, rest
bgstack15