1
votes

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.

1

1 Answers

4
votes

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).