Re:Tell HN: Github has dozens of public s3 passwords
by ulf on Wednesday August 04, 2010 @09:31AM
(#1574433)
In 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
PS: I do it all the time on my private repos but I try to not do it on the public ones.