Skip to main content
https://img.shields.io/pypi/v/django-firebird.svg

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 firebird-driver [1], therefore it will work only with firebird 3 and later. The current master branch of this repository is being developed under django 5.x. For previous Django stable version check the branch list of this repository. firebird-driver is the official python driver for Firebird.

Since version 5.0, the python package is called django_firebird to avoid a namespace conflict with firebird-driver, which also uses the firebird package name.

[1] https://pypi.org/project/firebird-driver/

Requirements

Installation

Using pip

pip install django-firebird

From repository

git clone git://github.com/maxirobaina/django-firebird.git

cd django-firebird

sudo python setup.py install

Configuration

Modify your setting.py

DATABASES = {
    'default': {
        'ENGINE' : 'django_firebird',
        'NAME' : '/var/lib/firebird/3.0/data/mydb.fdb', # Path to database or db alias
        'USER' : 'SYSDBA',           # Your db user
        'PASSWORD' : '*****',    # db user password
        'HOST' : '127.0.0.1',        # 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.

Contributing

Code and issues is in GitHub:

https://github.com/maxirobaina/django-firebird

We also have a mailing list:

http://groups.google.com/group/django-firebird-dev

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-5.0.1.tar.gz (42.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

django_firebird-5.0.1-py3-none-any.whl (45.0 kB view details)

Uploaded Python 3

File details

Details for the file django_firebird-5.0.1.tar.gz.

File metadata

  • Download URL: django_firebird-5.0.1.tar.gz
  • Upload date:
  • Size: 42.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.12.3

File hashes

Hashes for django_firebird-5.0.1.tar.gz
Algorithm Hash digest
SHA256 c1f182c00e5eeb3b1817ae005716b6f8bdb739d79c2c9f2d166169d7bc003fab
MD5 4b9d97a04b9a2b68d427c5357a80d488
BLAKE2b-256 cc272979725660adce5a26ea57caee2e49ef248f7d1dba40fc373c8e0fb2c076

See more details on using hashes here.

File details

Details for the file django_firebird-5.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for django_firebird-5.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5d8b878d22fcf77733dd321f3ce977f6f3b6986a47264f2d6de01bf65359c29a
MD5 6fa8cccf56fa5ea715e0f09ab6452bd0
BLAKE2b-256 9aea3580d7998c26f814b0eac184652f839bbb932b8d0e2ef9787654cc1d0e74

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page