laixintao / laixintao/problems
Django 数据不同环境的同步
Open
Nobody has claimed this yet.
- Dominant language
- No language data
- Stars
- 0
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
比如预发环境和线上环境的配置数据同步,手动输入太痛苦了。
数据库全量同步肯定不行。
django 自带的 dump 有些麻烦,要修改 ORM 添加一些主键,并且要在线上执行命令行。看有没有可以通过接口来导入的方式。
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue mentions Django configuration data between staging and production but names no files, tests, or entry points. First clarify which data is in scope and the intended import interface, then inspect the existing Django dump and ORM workflow. Done means configuration data can be transferred without a full database sync, manual primary-key ORM changes, or running an online command-line operation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- django, python
- Domain
- api, backend, database
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100