Commits

Luke Plant committed 569f20d

Switched to postgres for development

  • Participants
  • Parent commits 3741b89

Comments (0)

Files changed (1)

File christchurch/settings.py

 if DEVBOX:
     DATABASES = {
         'default': {
-            'ENGINE': 'django.db.backends.sqlite3',
-            'NAME': '../christchurchbradford.db',
+            'ENGINE': 'django.db.backends.postgresql_psycopg2',
+            'NAME': 'christchurch',
+            'USER': 'christchurch',
+            'PASSWORD': 'foo',
+            'HOST': 'localhost',
+            'PORT': 5432,
             }
         }
 else: