Skip to main content

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')

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

django_informixdb-0.1.2-py2.py3-none-any.whl (13.3 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file django_informixdb-0.1.2-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for django_informixdb-0.1.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 da5cb56a7e111299fa67f66ac5ebe07ac012e3a27fab3338ba2cdbcfc5959068
MD5 28cce2fff42aba71b217714e4a39382d
BLAKE2b-256 569e9a8cad5fdaa2bc6d4af23400c44a45a88747d41878ad5bacd4a14216e0a6

See more details on using hashes here.

Supported by

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