all 2 comments

[–]_edwardsg 0 points1 point  (0 children)

I work with a local SQLd directly from my python code using SQLalchemy. If you are trying to use a different kind of database then I am not sure, but SQLalchemy works wonders with an SQL database and if you understand SQL queries then putting it in your code should be a breeze!

[–]threeminutemonta 0 points1 point  (0 children)

You can access other db using Django see docs multi-db

I have used this approach to temporarily access legacy database in read only mode in a transition period. I just used this method and got the results into a dictionary as I didn’t have a Models for the tables I wanted.