]> git.sommitrealweird.co.uk Git - eatslugs.git/blobdiff - eatslugs/settings.py
Upgrade to Django 1.4
[eatslugs.git] / 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',