Skip to main content
Help us improve Python packaging – donate today!

A database driver for Django to connect to an informix db

Project Description

django\_informixdb
==================

A database driver for Django to connect to an Informix database via
informixdb python module.

**Some limitations**:
- Do not support default values



Configure local environment
---------------------------

The following environment variable should exist: - INFORMIXDIR -
INFORMIXSERVER - INFROMIXSQLHOSTS
django\_informixdb
==================

A database driver for Django to connect to an Informix database via
informixdb python module.

**Some limitations**:
- Do not support default values



Configure local environment
---------------------------

The following environment variable should exist: - INFORMIXDIR -
INFORMIXSERVER - INFROMIXSQLHOSTS

You need to create a sqlhosts file configuring remote/local informix
server connection information like the following:

::

ifxserver onsoctcp xxx.yy.com 1234
local_ifxserver1 onsoctcp * 4567

Configure custom.py
-------------------

Django’s custom.py require the following format to connect to a informix
db:

::
'default': {
'ENGINE': 'django_informixdb',
'NAME': 'd_1463994398130014',
'SERVER': 'ifxserver1',
'USER' : 'xblebtlh',
'PASSWORD': 'BbynQOHesR',
}


Corresponding informixdb connection:
---------------------------------
::
conn = informixdb.connect('d_1463994398130014@ifxserver1', 'xblebtlh', 'BbynQOHesR')

You need to create a sqlhosts file configuring remote/local informix
server connection information like the following:

::

ifxserver onsoctcp xxx.yy.com 1234
local_ifxserver1 onsoctcp * 4567

Configure custom.py
-------------------

Django’s custom.py require the following format to connect to a informix
db:

::
'default': {
'ENGINE': 'django_informixdb',
'NAME': 'd_1463994398130014',
'SERVER': 'ifxserver1',
'USER' : 'xblebtlh',
'PASSWORD': 'BbynQOHesR',
}


Corresponding informixdb connection:
---------------------------------
::
conn = informixdb.connect('d_1463994398130014@ifxserver1', 'xblebtlh', 'BbynQOHesR')

Release history Release notifications

This version
History Node

0.1.3

History Node

0.1.2

History Node

0.1.1

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
django_informixdb-0.1.3-py2.py3-none-any.whl (13.3 kB) Copy SHA256 hash SHA256 Wheel py2.py3 May 27, 2016

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page