Created
October 29, 2010 09:59
-
-
Save domenicomonaco/653258 to your computer and use it in GitHub Desktop.
Local_Setting_Python
This file contains 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
# | |
# 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