In the Pyramid web framework, how do I source sensitive settings into development.ini / production.ini from an external file?

前端 未结 3 941
不思量自难忘°
不思量自难忘° 2021-02-05 13:50

I\'d like to keep development.ini and production.ini under version control, but for security reason would not want the sqlalchemy.url conn

3条回答
  •  抹茶落季
    2021-02-05 14:18

    The whole point of the separate ini files in Pyramid is that you do not have to version control all of them and that they can contain different settings for different scenarios (development/production/testing). Your production.ini almost always should not be in the same VCS as your source code.

提交回复
热议问题