开发者

Can I add other tables in my db?

开发者 https://www.devze.com 2023-01-01 12:42 出处:网络
Can I add other tables in the database c开发者_高级运维reated by django ? It is for my PHP application.If you are asking if you can put tables for your PHP application into your django database schema

Can I add other tables in the database c开发者_高级运维reated by django ? It is for my PHP application.


If you are asking if you can put tables for your PHP application into your django database schema, then yes. Django will simply ignore any tables it doesn't know about. I can't imagine why you wouldn't just create a new schema for the PHP application.


Absolutely. Just catch the signal and do it yourself.


Perhaps you have a hosting plan which only has a limited number of databases, but if not, then you really should just create a new database for a new application.

Whilst there is no reason you can't do what you planned, do you want to risk putting all your eggs in one basket?

0

精彩评论

暂无评论...
验证码 换一张
取 消