]> git.sommitrealweird.co.uk Git - eatslugs.git/commitdiff
Upgrade to Django 1.4
authorBrett Parker <iDunno@sommitrealweird.co.uk>
Wed, 10 Jul 2013 14:55:13 +0000 (15:55 +0100)
committerBrett Parker <iDunno@sommitrealweird.co.uk>
Wed, 10 Jul 2013 14:55:13 +0000 (15:55 +0100)
eatslugs/settings.py

index 27227aa092103bae12d2b6d5c6d16c4455d4463c..5653f70621edd2a31f8eee7453d3e2377c54069a 100644 (file)
@@ -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',