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.

https://github.com/msabramo/django-netezza


Comments

Popular posts from this blog

image - ClassNotFoundException when add a prebuilt apk into system.img in android -

I need to import mysql 5.1 to 5.5? -

Java, Hibernate, MySQL - store UTC date-time -