How to work around lack of support for foreign keys across databases in Django

You could make a view in the database that has the cross database query in it, then define the model for the view in a separate file to keep syncdb working.

Happy programming. 🙂

Leave a Comment