django-orchestra-test/orchestra/apps/databases/settings.py

15 lines
330 B
Python
Raw Normal View History

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'),
))
DATABASES_DEFAULT_TYPE = getattr(settings, 'DATABASES_DEFAULT_TYPE', 'mysql')
DATABASES_DEFAULT_HOST = getattr(settings, 'DATABASES_DEFAULT_HOST', 'localhost')