gwu-libraries/DigOp — Issue #2: use a local settings file for real values
Author: dchud
Created: 2012-01-31 23:15:20+00:00
State: open

It's a good practice to leave real production settings values (dirs specific to a host, db user/pass/host info, etc.) out of checked-in code. One way to do this is to have simple defaults in the checked-in settings.py, and call out to a "local settings" file at the end that any specific deployment (dev, test, or production) could specify separately.

Here's a good example:

http://stackoverflow.com/questions/4909958/django-local-settings

Also, for something like the kabis server URL, you can add a "KABIS_SERVER_URL = ''" to the settings.py to help clue in folks that they should set that value in their local_settings.py file, and mention it specifically in an INSTALL.txt file.