aboutsummaryrefslogtreecommitdiffstats
path: root/pysite/route_manager.py
diff options
context:
space:
mode:
Diffstat (limited to 'pysite/route_manager.py')
-rw-r--r--pysite/route_manager.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/pysite/route_manager.py b/pysite/route_manager.py
index 6ed597b1..ad2b3603 100644
--- a/pysite/route_manager.py
+++ b/pysite/route_manager.py
@@ -7,7 +7,7 @@ from flask import Blueprint, Flask, abort, g
import rethinkdb
-from pysite.base_route import BaseView, ErrorView, RouteView
+from pysite.base_route import BaseView, ErrorView, RouteView, APIView
DB_HOST = os.environ.get("RETHINKDB_HOST")
DB_PORT = os.environ.get("RETHINKDB_PORT")
@@ -60,6 +60,7 @@ class RouteManager:
cls is not BaseView and
cls is not ErrorView and
cls is not RouteView and
+ cls is not APIView and
BaseView in cls.__mro__
):
cls.setup(blueprint)