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.3-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.3-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for django_informixdb-0.1.3-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 5733981a49a99c5cbfe7379a9aa14818a8371c38cf95c11fcf2837bd7f0ca678
MD5 ad1c61129d2f36bd40d7aa07ffee7fef
BLAKE2b-256 e004e043c001b36ed3c44b97d0e1279ec7e5c69092e1b95b203f4007241c4f69

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