--- --- restore content begins
-
- Synchronize their databases after a good build environment:
Step a: python manage.py check (check)
Step two: python manage.py makemigrations (generating a synchronization record)
Success page:
Step Three: python manage.py migrate (sync database)
Success interface:
Possible errors:
1, Step a:
Solution:
- I find the problem :( path of "D: \ python_amd64 \ lib \ site-packages \ django \ db \ backends \ mysql \ base.py)
- Comment out part of the code:
2, Step II:
solve:
Find the specified number of rows modified: decode -> encode
--- end --- restore content