一:python manage.py makemigrations No changes detected
After modifying models.py, some users will like the code generated by a corresponding py python manage.py makemigrations. But sometimes execute python manage.py makemigrations commands (also possible people are more skin, the migrations folder to be deleted), will prompt " Nochangesdetected. " May be useful solution as follows: first python manage.py makemigrations - empty YourAppName generate a empty initial.py then python manage.py makemigrations generated corresponding to the original model migrationfile
Two: django use version migrations and database migration error Solution
https://blog.csdn.net/a599174211/article/details/82795206
Three: django- questions about manage.py migrate invalid
https://blog.csdn.net/qq_25730711/article/details/60327344
Four: to solve the "xxx" has no 'objects' member error message appears when operating in Class model vscode database with python
https://blog.csdn.net/qq_36272282/article/details/89416663
Five: the deployment of admin background on line style is not in force
1 , in the tail settings.py: STATIC_ROOT = the os.path.join (base_dir, ' static ' ) designated style collection catalog # # or STATIC_ROOT = ' / WWW / the mysite / the mysite / static ' # directory specified style collection 2 , collected CSS style, enter in a terminal: Python manage.py collectstatic after running this command, it will automatically collect background CSS style / static / directory. Refresh the page will be able to resume style!