I have a Django project that utilizes multiple databases. https://docs.djangoproject.com/en/dev/topics/db/multi-db/
I perform a lot of raw queries like this:
cursor = connection.cursor() cursor.execute("select * from my_table") .... transaction.commit_unless_managed() How can I specify which database to use?
transaction.commit_unless_managed(using = 'database_entry')?