From f3de900bdb59ed48fe7945ae03d051c74e1d629c Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Sun, 16 Feb 2020 19:15:21 -0500 Subject: [PATCH] Import all database models --- api-daemon/pvcapid/flaskapi.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api-daemon/pvcapid/flaskapi.py b/api-daemon/pvcapid/flaskapi.py index 28e179e9..9e97afb0 100755 --- a/api-daemon/pvcapid/flaskapi.py +++ b/api-daemon/pvcapid/flaskapi.py @@ -119,7 +119,7 @@ if config['auth_enabled']: db = SQLAlchemy(app) # Import database models -from pvcapid.models import DBSystemTemplate, DBNetworkTemplate, DBNetworkElement, DBStorageTemplate, DBStorageElement, DBUserdata, DBScript, DBProfile +from pvcapid.models import * # Create Flask blueprint blueprint = flask.Blueprint('api', __name__, url_prefix='/api/v1')