4 ms·
Yeah, this is a typical mistake, I've pushed Django's secret keys and even twitter credentials. PS: I do it all the time on my private repos but I try to not d
by igorgue 16y ago
Yeah, this is a typical mistake, I've pushed Django's secret keys and even twitter credentials.
PS: I do it all the time on my private repos but I try to not do it on the public ones.
- ulf 16y agoIn case of django there is a nice workaround in using a non-git localsettings.py file. Just put "from localsettings import *" in your settings-file, and keep all deployment-specific settings in the localsettings-file