在gi中检查配置文件时隐藏密码

2024-04-25 19:46:29 发布

您现在位置:Python中文网/ 问答频道 /正文

Possible Duplicates:
What is the best practice for dealing with passwords in github?
How can I track system-specific config files in a repo/project?

我想躲起来

DATABASE_NAME = ''
DATABASE_USER = ''
DATABASE_PASSWORD = ''
DATABASE_HOST = '' 

在github中签入时,默认Django settings.py文件的第13到17行。

我仍然想在tho中检查它,因为我会不时地添加修改。我只希望这四行总是被设置为空。


Tags: theingithubforiswithwhatdatabase