Hi,

Are you sure that django-firebird is compatible with version of Django you're using?

Docs seem to indicate that django-firebird supports only Django 1.6.x

On 11.11.2015 11:39, Djangaroo wrote:
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' Link <https://code.google.com/p/django-firebird/>

This 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:

|
importos,fdb,firebird
|

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.

--
You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com <mailto:django-users+unsubscr...@googlegroups.com>. To post to this group, send email to django-users@googlegroups.com <mailto:django-users@googlegroups.com>.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/62c7b456-08e3-4054-8b75-87cdf1c47451%40googlegroups.com <https://groups.google.com/d/msgid/django-users/62c7b456-08e3-4054-8b75-87cdf1c47451%40googlegroups.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Django 
users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/56430FE2.7090600%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to