old_contents: from flask.ext.appbuilder.baseapp import BaseApp
  from flask.ext.appbuilder.views import GeneralView
  
  
  
  
  
  baseapp = BaseApp(app)
  
  
new_contents: from flask.ext.appbuilder.baseapp import BaseApp
  from flask.ext.appbuilder.views import GeneralView
  from app import app, db
  
  
  
  
  baseapp = BaseApp(app)
  
  
subject: Update views.py