Skip to main content

Firebird backend for Django web framework

Project description

Firebird SQL backend for django

Repo Note: The master branch is an in development version of django-firebird. This may be substantially different from the latest release of django-firebird

This version of django-firebird is working with fbd [1], therefore it will work only with firebird 2.x and later. The stable version corresponds with django 1.10 and live into stable/1.10.x branch. The current master branch of this repository is being developed under django 1.11.x. For previous Django stable version check the branch list of this repository. fbd is the official stable python-firebird driver, also it has support for python 3.




Using pip

pip install django-firebird

From repository

git clone git://

cd django-firebird

sudo python install

Manual Instalation

Instructions for Ubuntu/Debian I assume you have installed django from source with python install

cd /usr/local/lib/python2.7/dist-packages

sudo git clone git://

sudo ln -s django-firebird/firebird firebird

cd /usr/local/lib/python2.7/dist-packages/django/db/backends

sudo ln -s /usr/local/lib/python2.7/dist-packages/django-firebird/firebird


Modify your

    'default': {
        'ENGINE' : 'firebird',
        'NAME' : '/var/lib/firebird/2.5/data/django_firebird.fdb', # Path to database or db alias
        'USER' : 'SYSDBA',           # Your db user
        'PASSWORD' : '*****',    # db user password
        'HOST' : '',        # Your host machine
        'PORT' : '3050',             # If is empty, use default 3050
        #'OPTIONS' : {'charset':'ISO8859_1'}

Known bugs and issues

  • Some database migrations doesn’t work by default. Sometimes is better make intermediate migrations for solve problems.

  • Some Query Expressions doesn’t work by default. We need to make some workaround, ie: Use Cast().

  • Combined duration expressions need more research. No all combination of expressions works.


Code and issues is in GitHub:

We also have a mailing list:

Legacy driver

Why the change from kinterbasdb to fdb?

If you want to know more about the differences between fdb and kinterbasdb you can look at:

If you still use kinterbasdb, the original google code repository has an updated django-firebird 1.4.x LTS version.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-firebird-1.11a2.tar.gz (26.2 kB view hashes)

Uploaded Source

Built Distribution

django_firebird-1.11a2-py2.py3-none-any.whl (28.2 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page