Created
March 29, 2012 04:46
-
-
Save jteso/2233419 to your computer and use it in GitHub Desktop.
Manage local and production settings in django
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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