Django Projects and git
I generally use different settings.py for each stage (development, testing and prodcution).  The only one that I keep on a version control is the one corresponding to development.  The other settings.py are internal and, when required, they are copied to each instance of the server (testing and production).
Hope this helps.
How can I handle the security of web frameworks like django on github or any other public domain version control site.  
The settings.py can and will often contain sensitive database information, passwords and secret keys, which must not be uploaded on the repository and in plain view.
What is the common practice and least hassle way of handling that?