Skip to content

Instantly share code, notes, and snippets.

@domenicomonaco
Created October 29, 2010 09:59
Show Gist options
  • Save domenicomonaco/653258 to your computer and use it in GitHub Desktop.
Save domenicomonaco/653258 to your computer and use it in GitHub Desktop.
Local_Setting_Python
#
# You can put any custom options you would normally want in settings.py into
# this file. If you want to add middleware or applications, precede a setting
# name with "EXTRA_".
# Use a local PostgreSQL database.
DATABASE_ENGINE = 'postgresql_psycopg2'
DATABASE_NAME = ''
DATABASE_USER = ''
DATABASE_PASSWORD = ''
DATABASE_HOST = ''
DATABASE_PORT = '5432'
# Required for Django Debug Toolbar and other things.
INTERNAL_IPS = ('127.0.0.1',)
# Add Django Debug Toolbar application. (It's cool.)
EXTRA_MIDDLEWARE_CLASSES = (
'debug_toolbar.middleware.DebugToolbarMiddleware',
)
EXTRA_INSTALLED_APPS = (
'debug_toolbar',
)
EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment