From 7d238c4c7ebd975ac0333d1fb753d8c0a150b3bf Mon Sep 17 00:00:00 2001 From: Brett Parker Date: Wed, 10 Jul 2013 15:55:13 +0100 Subject: [PATCH 1/1] Upgrade to Django 1.4 --- eatslugs/settings.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/eatslugs/settings.py b/eatslugs/settings.py index 27227aa..5653f70 100644 --- a/eatslugs/settings.py +++ b/eatslugs/settings.py @@ -15,12 +15,12 @@ ADMINS = ( MANAGERS = ADMINS -DATABASE_ENGINE = 'sqlite3' -DATABASE_NAME = os.path.join(topdir, 'eatslugs.db') -DATABASE_USER = '' -DATABASE_PASSWORD = '' -DATABASE_HOST = '' -DATABASE_PORT = '' +DATABASES = { + 'default': { + 'ENGINE': 'django.db.backends.sqlite3', + 'NAME': os.path.join(topdir, 'eatslugs.db') + } +} TIME_ZONE = 'Europe/London' @@ -70,7 +70,7 @@ INSTALLED_APPS = ( ) TEMPLATE_CONTEXT_PROCESSORS = ( - 'django.core.context_processors.auth', + 'django.contrib.auth.context_processors.auth', 'django.core.context_processors.debug', 'django.core.context_processors.i18n', 'generic.context_processors.media', -- 2.39.5