Skip to content

Instantly share code, notes, and snippets.

@cajun-code
Created July 5, 2011 13:04
Show Gist options
  • Save cajun-code/1064799 to your computer and use it in GitHub Desktop.
Save cajun-code/1064799 to your computer and use it in GitHub Desktop.
Append to settings.py and create local-settings.py
# Append to settings.py in the python app and create a local_settings.py
# override the database settings in local_settings
try:
from local_settings import *
except ImportError:
pass
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment