django pymysql code example
Example 1: 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()
Example 2: pk django
pk is short for primary key, which is a unique identifier for each
record in a database.