from django.conf import settings

if settings.DEBUG==False:
    import pymysql
    pymysql.install_as_MySQLdb()