Hi Django Forum.
I’m learning Django and I found it very difficult to configure the Firebird database in Settings.
I tried several libraries and none worked.
My database configuration:
DATABASES = {
‘default’: {
‘ENGINE’ : ‘django.db.backends.firebird’,
‘NAME’ : ‘C:/Projects/data/database.fdb’,
‘USER’ : ‘SYSDBA’,
‘PASSWORD’ : ‘masterkey’,
‘HOST’ : ‘127.0.0.1’,
‘PORT’ : ‘3050’
}
}
The lasts errors was this:
raise ImproperlyConfigured(
django.core.exceptions.ImproperlyConfigured: ‘firebird.backend’ isn’t an available database backend.
Try using ‘django.db.backends.XXX’, where XXX is one of:
‘mysql’, ‘oracle’, ‘postgresql’, ‘sqlite3’
conn = backend.DatabaseWrapper(db, alias)
AttributeError: module ‘firebird.base’ has no attribute ‘DatabaseWrapper’
from django.utils.asyncio import async_unsafe
ModuleNotFoundError: No module named ‘django.utils.asyncio’
Could someone please help me with how to do this?
Thank you very much in advance.