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.8 and live into stable/1.8.x branch. The current master branch of this repository is being developed under django 1.9.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.
Requirements
Python 2.6+ or Python 3.x
Django 1.8.x
Instalation
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
Manual Instalation
Instructions for Ubuntu/Debian I assume you have installed django from source with python setup.py install
cd /usr/local/lib/python2.7/dist-packages
sudo git clone git://github.com/maxirobaina/django-firebird.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
Configuration
Modify your setting.py
DATABASES = { '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' : '127.0.0.1', # Your host machine 'PORT' : '3050', # If is empty, use default 3050 #'OPTIONS' : {'charset':'ISO8859_1'} } }
Contributing
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:
http://thread.gmane.org/gmane.comp.db.firebird.python/185/focus=187
http://pythonhosted.org//fdb/differences-from-kdb.html
If you still use kinterbasdb, the original google code repository has an updated django-firebird 1.4.x LTS version.
Project details
Release history Release notifications | RSS feed
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
Hashes for django_firebird-1.8.2-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7e61d6bc781e70488c333948ea4f5b2afeba1bb6a03abb8497cde917f34094c4 |
|
MD5 | 1dd55b677d9f458e512b0dec9316e5f3 |
|
BLAKE2b-256 | e36aa5c0ef7522c3f9dd98b14189d8cba980cc0adffce4e6648b2a8bdc63fd89 |