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.
Requirements
Python 3.11+
Django 5.x
firebird-driver 2.x (https://pypi.org/project/firebird-driver/)
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:
We also have a mailing list:
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c1f182c00e5eeb3b1817ae005716b6f8bdb739d79c2c9f2d166169d7bc003fab
|
|
| MD5 |
4b9d97a04b9a2b68d427c5357a80d488
|
|
| BLAKE2b-256 |
cc272979725660adce5a26ea57caee2e49ef248f7d1dba40fc373c8e0fb2c076
|
File details
Details for the file django_firebird-5.0.1-py3-none-any.whl.
File metadata
- Download URL: django_firebird-5.0.1-py3-none-any.whl
- Upload date:
- Size: 45.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/7.0.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5d8b878d22fcf77733dd321f3ce977f6f3b6986a47264f2d6de01bf65359c29a
|
|
| MD5 |
6fa8cccf56fa5ea715e0f09ab6452bd0
|
|
| BLAKE2b-256 |
9aea3580d7998c26f814b0eac184652f839bbb932b8d0e2ef9787654cc1d0e74
|