使用 Django 1.3(或更高版本)并按照以下说明进行操作Django 火鸟 http://code.google.com/p/django-firebird/ page.
Django 1.4 使用github 上的 django-firebird 驱动程序 https://github.com/maxirobaina/django-firebird
In your settings.py
文件,使用类似的东西......
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.postgresql_psycopg2',
'NAME': 'testdb',
'USER': 'testdb_user',
'PASSWORD': 'testdbpassw',
'HOST': '',
'PORT': '',
},
'fb': {
'ENGINE': 'firebird',
'NAME': '/home/idle/mydb.gdb',
'USER': 'SYSDBA',
'PASSWORD': 'passw',
'HOST': '127.0.0.1',
'PORT': '3050',
'OPTIONS': {'charset':'WIN1251', 'dialect':1} ,
}
}