django backends for pymysql code example
Example: django pymysql
#here is latest version of pymysql in mysqldb.
#add this settings in settings file
import pymysql
pymysql.version_info = (1, 4, 6, 'final', 0)
pymysql.install_as_MySQLdb()
#here is latest version of pymysql in mysqldb.
#add this settings in settings file
import pymysql
pymysql.version_info = (1, 4, 6, 'final', 0)
pymysql.install_as_MySQLdb()