Open GeorgeLubaretsi opened 7 years ago
Hi @GeorgeLubaretsi, thanks for this!
Are you able to pull together a test, or modify the tests, to demonstrate this working?
Hi @GeorgeLubaretsi, I'd still like to merge this in. If you'd like some help putting a test case together, I'm more than happy to work through it with you =)
Hey @scott-w I really don't have much time at the moment :( I'll try to come up with something over the next weekend
Hi @GeorgeLubaretsi, no worries. Just keep me updated and I'll be happy to put some time aside to work with you.
My fork now this supports this as of version 0.8.0. See https://github.com/mikicz/django-pgviews and https://pypi.org/project/django-pgviews-redux/.
In our project we use multiple databases. They are chosen based on Model's app name.
Here's the documentation: https://docs.djangoproject.com/en/1.11/topics/db/multi-db/#using-routers
This change makes sure routers are taken into account when creating a connection