Flask_more1

#DB

```

import os

basedir = os.path.abspath(os.path.dirname(__file__))

SQLALCHEMY_DATABASE_URI = ‘sqlite:///‘ + os.path.join(basedir, ‘app.db‘)

SQLALCHEMY_MIGRATE_REPO = os.path.join(basedir, ‘db_repository‘)

```

来自为知笔记(Wiz)

时间: 2024-10-30 22:28:36

Flask_more1的相关文章