Skip to content

Instantly share code, notes, and snippets.

@peterbe
Created October 26, 2011 18:26
Show Gist options
  • Save peterbe/1317268 to your computer and use it in GitHub Desktop.
Save peterbe/1317268 to your computer and use it in GitHub Desktop.
from .base import *
try:
from .local import *
except ImportError, exc:
exc.args = tuple(['%s (did you rename settings/local.py-dist?)' % exc.args[0]])
raise exc
# example to extend things
#import base
#INSTALLED_APPS = base.INSTALLED_APPS + ('django_debugtoolbar',)
DATATBASE = {
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment