阅读背景:

Django:从不同的数据库获取数据。

来源:互联网 

I want to select data from a database table that is not part of my Django project. I added the database connection info to the settings file and I can do raw sql queries against it to pull the data. However, I would like to create a model for that table and be able to access the data as I would any other Django model data.I want to select data from a database table tha




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: