Configuring Django for Netezza database (nzSQL) -
i'm new django (though not pyodbc), , i'm little confused how database settings work. go models route , configure settings.py connect netezza database has following odbc configuration:
driver={netezzasql} server=netezza database= database_name uid=myid pwd=mypassword
and here odbc instance looks like:
$odbcinst -j unixodbc 2.2.14 drivers....... /etc/odbcinst.ini stsrem data sources..../etc/odbcdatasources user data sources.../u/me/.odbc.ini sqlulen size......8 sqllen size.....8 sqlsetposirow size..8
i can't life of me figure out how settings.py file. can explain how works?
p.s. similar question asked here: unixodbc , netezza odbc driver issue (undefined symbol: ssl_connect) none of answers helped.
you'll need install library provides django database backend netezza. follow instructions in readme set up.
Comments
Post a Comment