Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

实现恢复学校管理员误删项目的脚本 #70

Open
Time1ess opened this issue Jun 26, 2017 · 3 comments
Open

实现恢复学校管理员误删项目的脚本 #70

Time1ess opened this issue Jun 26, 2017 · 3 comments
Assignees
Labels

Comments

@Time1ess
Copy link
Member

功能说明:

  1. 使用备份数据在数据库中添加一个backup_db
  2. 更改settings.py中的数据库设置,以添加backup_db
  3. 实现script/restore_projects_from_backup_db.py

实现内容: 使用using方法指定从backup_db获取数据,依照依赖关系图优先保存无依赖的Model,使用默认的save()方法。

@tianweidut
Copy link
Member

@Time1ess 这个项目还在维护啊? 👍

@Time1ess
Copy link
Member Author

@tianweidut 已经衍生了好几个定制版本给其他学校了😂😂

@tianweidut
Copy link
Member

@Time1ess

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants