Skip to content

Instantly share code, notes, and snippets.

@toastdriven
Created August 18, 2012 01:26
Show Gist options
  • Select an option

  • Save toastdriven/3383803 to your computer and use it in GitHub Desktop.

Select an option

Save toastdriven/3383803 to your computer and use it in GitHub Desktop.
DEBUG = TEMPLATE_DEBUG = True
DATABASES['default']['USER'] = 'daniel'
# ...etc...
# The usual, then at the very bottom...
try:
from local_settings import *
except ImportError:
pass
@shreyasHpandya

Copy link
Copy Markdown

I've been doing ./manage.py <command> --settings=local_settings but this is good.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment