django如何将mysql数据库转化为model

python manage.py inspectdb --database name(name为数据库的名称)

猜你喜欢

转载自www.cnblogs.com/zhangtq/p/10536834.html
今日推荐