Commit 74fdc3f3 authored by david's avatar david

cleaned up database settings

parent d34c8536
Pipeline #17 passed with stage
in 58 seconds
......@@ -78,17 +78,8 @@ WSGI_APPLICATION = 'fiex.wsgi.application'
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.mysql',
'OPTIONS': {
'read_default_file': os.path.join(BASE_DIR, 'mysql.cnf'),
},
'TEST': {
'NAME' : os.getenv('FIEX_TEST_DB_NAME',default='fiex_test'),
'USER' : os.getenv('FIEX_TEST_DB_USER',default='user'),
'PASSWORD' : os.getenv('FIEX_TEST_DB_PASWORD'),
'HOST' : os.getenv('FIEX_TEST_DB_HOST',default='localhost'),
},
'ENGINE': 'django.db.backends.sqlite3',
'NAME': os.path.join(BASE_DIR, 'db.sqlite3'),
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment