Skip to main content

Firebird backend for Django 1.5+.

Project description

# django-firebird

## Firebird SQL backend for django

This version of django-firebird is working with *fbd* [1] .Therefore it will work only with firebird 2.x and later.
Also, the current master version of this repository is being developed under django 1.5. And we consider the driver stable.

Why the change?
fbd is the next official stable python-firebird driver, also it has support for python 3.

If you want to know more about the diferrences between *fdb* and *kinterbasdb* you can look at:
http://thread.gmane.org/gmane.comp.db.firebird.python/185/focus=187


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

http://code.google.com/p/django-firebird/


[1] http://pypi.python.org/pypi/fdb/

## Requirements
* Python 2.6+
* Django 1.5+
* fdb (http://pypi.python.org/pypi/fdb/)

## Instalation

**Using pip**

pip install django-fiebird

**From repository**

sudo git clone git://github.com/maxirobaina/django-firebird.git
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/rdbgraph.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'}
}
}

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.5.3.final.0.tar.gz (12.7 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file django-firebird-1.5.3.final.0.tar.gz.

File metadata

File hashes

Hashes for django-firebird-1.5.3.final.0.tar.gz
Algorithm Hash digest
SHA256 c5738e8915e781757cf81c1ac0811d4653b9ca4493357408e40c904b138454ac
MD5 851048240894b18c9c25955ddee56530
BLAKE2b-256 d037c83623869b51a9fa13aed709e158da72467b1bd388fe648835ea6cdc52a2

See more details on using hashes here.

File details

Details for the file django_firebird-1.5.3.final.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for django_firebird-1.5.3.final.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 5cd0c95e6e1c9956ddcadd4154730a086702943892d8ff9262bf0c82638e34b1
MD5 bdfe3075017976d493527e14b91643ca
BLAKE2b-256 f065df050e7bb4382d666c0f580455a0d3796f4ccbb6e2b6d7a5007b604ca330

See more details on using hashes here.

Supported by

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