Django: Reverse generating models.py

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)

Guess you like

Origin blog.csdn.net/weixin_38676276/article/details/107992605