In django if I have more than one database , how do I tell django to create which model-table in which database?

后端 未结 0 1612
南笙
南笙 2020-12-31 21:29

For example I have these two databases. Now while creating a model class, how do I tell django to initiate that model table in the \'movie\' database and not in the \'defau

相关标签:
回答
  • 消灭零回复
提交回复
热议问题