/purchase_master

Primary LanguagePythonMIT LicenseMIT

purchase_master

常用命令

1. 安装 / 管理环境

# 安装工具 
pip install pip-tools
# 根据 requirement.in 生成依赖txt文件
pip-compile && pip-sync

2. 数据库管理

# 生成migrations文件
python manage.py makemigrations
# 应用迁移
python manage.py migrate
# 创建管理员
python manage.py createsuperuser