After configuring the database connection in settings.py, enter the command in the console: python manage.py inspectdb> app01/models.py (import the model into the model.py file of app01)
Django: Reverse generating models.py
Guess you like
Origin blog.csdn.net/weixin_38676276/article/details/107992605
Recommended
Ranking