From 5a21c16bd646815c42dc0aae61b53d3b996aace6 Mon Sep 17 00:00:00 2001 From: Charles Connell Date: Sat, 8 Feb 2014 16:18:12 -0500 Subject: [PATCH] All developers are using psql locally now --- karmaworld/settings/dev.py | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/karmaworld/settings/dev.py b/karmaworld/settings/dev.py index 4042a1e..646cacc 100644 --- a/karmaworld/settings/dev.py +++ b/karmaworld/settings/dev.py @@ -29,12 +29,12 @@ EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend' # See: https://docs.djangoproject.com/en/dev/ref/settings/#databases DATABASES = { 'default': { - 'ENGINE': 'django.db.backends.sqlite3', - 'NAME': normpath(join(DJANGO_ROOT, 'karmaworld.db')), - 'USER': '', - 'PASSWORD': '', - 'HOST': '', - 'PORT': '', + 'ENGINE': 'django.db.backends.postgresql_psycopg2', + 'NAME': 'karmanotes', + 'USER': 'djkarma', + 'PASSWORD': 'karma', + 'HOST': 'localhost', + 'PORT': '', # Set to empty string for default. Not used with sqlite3. } } ########## END DATABASE CONFIGURATION @@ -86,6 +86,7 @@ MIDDLEWARE_CLASSES += ( 'debug_toolbar.middleware.DebugToolbarMiddleware', ) + DEBUG_TOOLBAR_CONFIG = { 'INTERCEPT_REDIRECTS': False # Don't interrput our redirects! } -- 2.25.1