laixintao / laixintao/problems

Django 数据不同环境的同步

Open
#12 0 comments 0 reactions 0 assignees View on GitHub

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.