Merge branch 'takeflight-feature/test-db-settings'

This commit is contained in:
Matt Westcott 2014-07-28 12:07:49 +01:00
commit e6b45af2b1
2 changed files with 2 additions and 2 deletions

View file

@ -3,7 +3,6 @@ import sys
import os
import shutil
from django.conf import settings
from django.core.management import execute_from_command_line
from wagtail.tests.settings import STATIC_ROOT, MEDIA_ROOT

View file

@ -11,8 +11,9 @@ MEDIA_ROOT = os.path.join(WAGTAIL_ROOT, 'test-media')
DATABASES = {
'default': {
'ENGINE': os.environ.get('DATABASE_ENGINE', 'django.db.backends.postgresql_psycopg2'),
'NAME': 'wagtaildemo',
'NAME': os.environ.get('DATABASE_NAME', 'wagtaildemo'),
'USER': os.environ.get('DATABASE_USER', 'postgres'),
'PASSWORD': os.environ.get('DATABASE_PASS', None),
}
}