My current Django setup uses MySQL as the main database to store models. Now for my project I need to connect to a remote PostgreSQL database and retrieve data from it. Is it possible to do this by using built-in Django and Python features or I will need to use library such as Psycopg2 ?
It would be great for me, if I will be able to use the Object-relational mapper of Django for this remote database.
Any ideas would be more than welcome.
Django Project is working on Multiple Database Support . There is also a recent (Nov 10 2009) blog post about "The state of MultiDB (in Django)" .
Update: Multiple Databases is supported since Django v1.2 (release May 2010).
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.