我有一个Django后端。现在,我正在使用sqlite3进行开发,并且在部署时我计划使用postgresql。
我有一个发票应用程序,每个租户至少(截至目前)至少有以下型号:
Manufacturer, Product (each product to have foreign key relation to manufacturer),
Zone , Customer (each customer to have foreign key relation to zone),
Purchase invoice and Sales invoice.
现在,我的问题是如何在django& amp; amp; amp; amp; amp; amp; amp; amp; (sqlite3或postgresql)。我也找不到很多教程。那么,我应该怎么做呢?