The other day mysql reinstalled ,django The content in has been deleted .
perform python manage.py runserver It must not work properly . So the key is to reply to the database .
django It is really a very good framework , It can generate database structure with one click .
Use python manage.py migrate
that will do .
However, you may be prompted about the contents of the error report .
Go to mysql Create a new one in django Just the database , then django Will create tables based on your model .
Re execution python manage.py migrate
It was successful .