From: Charles Connell Date: Sat, 8 Feb 2014 21:18:12 +0000 (-0500) Subject: All developers are using psql locally now X-Git-Tag: release-20150131~165 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=5a21c16bd646815c42dc0aae61b53d3b996aace6;p=oweals%2Fkarmaworld.git All developers are using psql locally now --- 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! }