コード例 #1
0
 def setup(self):
     app = create_app('ivy_3dprint_site.settings.DevConfig', env='dev')
     self.app = app.test_client()
     db.app = app
     db.create_all()
コード例 #2
0
ファイル: manage.py プロジェクト: hellwen/ivy_3dprint_site
def createdb():
    """ Creates a database with all of the tables defined in
        your Alchemy models
    """

    db.create_all()
コード例 #3
0
ファイル: manage.py プロジェクト: hellwen/ivy_3dprint_site
def createdb():
    """ Creates a database with all of the tables defined in
        your Alchemy models
    """

    db.create_all()