From: Brett Parker Date: Wed, 10 Jul 2013 14:55:13 +0000 (+0100) Subject: Upgrade to Django 1.4 X-Git-Url: https://git.sommitrealweird.co.uk/eatslugs.git/commitdiff_plain/7d238c4c7ebd975ac0333d1fb753d8c0a150b3bf?ds=inline Upgrade to Django 1.4 --- 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',