Import all database models

This commit is contained in:
Joshua Boniface 2020-02-16 19:15:21 -05:00
parent 9c7041f12c
commit f3de900bdb
1 changed files with 1 additions and 1 deletions

View File

@ -119,7 +119,7 @@ if config['auth_enabled']:
db = SQLAlchemy(app) db = SQLAlchemy(app)
# Import database models # Import database models
from pvcapid.models import DBSystemTemplate, DBNetworkTemplate, DBNetworkElement, DBStorageTemplate, DBStorageElement, DBUserdata, DBScript, DBProfile from pvcapid.models import *
# Create Flask blueprint # Create Flask blueprint
blueprint = flask.Blueprint('api', __name__, url_prefix='/api/v1') blueprint = flask.Blueprint('api', __name__, url_prefix='/api/v1')