Django with generic odbc database

140 views
Skip to first unread message

Diego Gazzo

unread,
May 3, 2017, 7:48:19 AM5/3/17
to Django users
Good morning,
In the Company i'm working on, we are currently using an Enterprise database called ADABAS (Software AG product). 
This database expose a standard ODBC interface.
My question: is there a way to call a generic odbc database from django?
We found the django-pyodbc but seem to be available only for MSSQL, IBM DB2 or Azure. 
Thanks for your feedback and Kind regards
Diego Gazzo

Jani Tiainen

unread,
May 3, 2017, 8:04:08 AM5/3/17
to django...@googlegroups.com

As long as there exists Python DB-API for your database (maybe there is some generic odbc driver) you can use it.

Of course you won't be able to use Django ORM with it.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.
To post to this group, send email to django...@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/c8c87780-8737-4bc9-81f2-742e1f8966c1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

-- 
Jani Tiainen

JHeasly

unread,
May 3, 2017, 1:21:56 PM5/3/17
to Django users
I've had a good experience with the mxODBC Django Database Engine. (The web page says you can use the ORM, but elsewhere it clarifies that's only if you're using MS SQL Server 2005, 2008 and 2012.) But as Jani says, you do have to do all the querying, updating in raw SQL.

 — John
Reply all
Reply to author
Forward
0 new messages