Files
tryton/trytond/backend/__init__.py
T
2010-02-25 16:43:04 +01:00

11 lines
330 B
Python

#This file is part of Tryton. The COPYRIGHT file at the top level of
#this repository contains the full copyright notices and license terms.
from trytond.config import CONFIG
if CONFIG['db_type'] == 'sqlite':
from sqlite import *
elif CONFIG['db_type'] == 'mysql':
from mysql import *
else:
from postgresql import *