1👍
✅
PyMySQL version used : pip install pymysql==1.0.2
Django version used : pip install django==3.2
Then in settings.py
….
import pymysql
pymysql.install_as_MySQLdb()
….
Then it will run fine.
- [Answered ]-How to prevent django admin login and logout sessions from reflecting in actual website?
Source:stackexchange.com