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