title: How to manage local vs production settings in Django?
body: <p>What is the recommended way of handling settings for local development and the production server? Some of them (like constants, etc) can be changed/accessed in both, but some of them (like paths to static files) need to remain different, and hence should not be overwritten every time the new code is deployed.</p>
  
  <p>Currently, I am adding all constants to <code>settings.py</code>. But every time I change some constant locally, I have to copy it to the production server and edit the file for production specific changes... :( </p>
  
  <p><em>Edit: looks like there is no standard answer to this question, I've accepted the most popular method.</em></p>