2014-05-08 16:59:35 +00:00
|
|
|
from django.conf import settings
|
|
|
|
|
|
|
|
|
|
|
|
DATABASES_TYPE_CHOICES = getattr(settings, 'DATABASES_TYPE_CHOICES', (
|
|
|
|
('mysql', 'MySQL'),
|
|
|
|
('postgres', 'PostgreSQL'),
|
|
|
|
))
|
|
|
|
|
|
|
|
|
2015-03-31 12:39:08 +00:00
|
|
|
DATABASES_DEFAULT_TYPE = getattr(settings, 'DATABASES_DEFAULT_TYPE',
|
|
|
|
'mysql'
|
|
|
|
)
|
2014-05-08 16:59:35 +00:00
|
|
|
|
|
|
|
|
2015-03-31 12:39:08 +00:00
|
|
|
DATABASES_DEFAULT_HOST = getattr(settings, 'DATABASES_DEFAULT_HOST',
|
|
|
|
'localhost'
|
|
|
|
)
|