Hello everybody,
I'm having trouble connecting a second Database to my Django Project.
I would like to read Data from the Firebirdsql database, to display on my Website.
I have downloaded 'django-firebird'
LinkThis is the setup I am using, wicht isn't working:
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.sqlite3',
'NAME': os.path.join(BASE_DIR, 'db.sqlite3'),
},
'zef': {
'ENGINE': 'firebird',
'NAME': os.path.join(BASE_DIR, 'Blabla.FDB'),
'USER' : 'MyDBUser',
'PASSWORD' : 'Topsecret',
'HOST' : '127.0.0.1',
'PORT' : '3050',
}
}
and have also imported firebird and fdb:
I still keep getting the following error message, when I try running my Server:
django.core.exceptions.ImproperlyConfigured: 'firebird' isn't an available database backend.
Try using django.db.backends.XXX, where XXX is one of:
'base', 'mysql', 'oracle', 'postgresql_psycopg2', 'sqlite3'
Error was: cannot import name 'BaseDatabaseOperations'
I've been stuck here for a while and would really appreciate your help.