#2877 closed defect (duplicate)
Cannot specify another database in Meta.db_table
Description ¶
I cannot specify a table in another database using "class Meta: db_table = 'other_db.table'", what I can do if I directly work with MySQL.
Change History (2)
comment:1 by , 18 years ago
Resolution: | → duplicate |
---|---|
Status: | new → closed |
comment:2 by , 18 years ago
Why I should use several connections? In MySQL, I can use several internal databases within one connection.
Note:
See TracTickets
for help on using tickets.
Check out the multi-db branch of Django, which supports connecting to as many different databases as you like:
http://code.djangoproject.com/browser/django/branches/multiple-db-support
Documentation is at the MultipleDatabaseSupport wiki page.
Dupe of #1142.