Skip to content

Instantly share code, notes, and snippets.

@jteso
Created March 29, 2012 04:46
Show Gist options
  • Save jteso/2233419 to your computer and use it in GitHub Desktop.
Save jteso/2233419 to your computer and use it in GitHub Desktop.
Manage local and production settings in django
try:
from local_settings import *
except ImportError, e:
pass
# You can override what needed in local_settings.py; it should stay out of your version control then.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment