Make sure mysqlclient is installed in your system then add below code in __init__.py file
import pymysql
pymysql.install_as_MySQLdb()
import pymysql
pymysql.install_as_MySQLdb()
Please make to modify settings.py file: DATABASES = { 'default' : { 'ENGINE' : 'django.db.backends.sqlite3&...
No comments:
Post a Comment
Note: only a member of this blog may post a comment.