I started Django, I started with 1.10. I use Python 3.5, but MySQLdb only supports Python 2. So I chose pymysql. However, Django wants to use the session
python manage.py syncdb
I couldn't find MySQLdb and got an error.
If anyone has used MySQLdb on Django 1.10, please help us.
django mysql
I don't know the error message, but I think it's a long-term version problem.
The syncdb command has been completely deprecated since django 1.9 version.
Please check if mysql is running and try again using makemigrations
and migrate
and if not, please post an error message.
© 2024 OneMinuteCode. All rights reserved.