disable pymysql import

This commit is contained in:
Jens Langhammer 2018-12-09 17:41:25 +01:00
parent 4b3959787e
commit f4c5ba27cc
1 changed files with 2 additions and 2 deletions

View File

@ -4,13 +4,13 @@ import logging
import os
import celery
import pymysql
# import pymysql
from django.conf import settings
# from raven import Client
# from raven.contrib.celery import register_logger_signal, register_signal
pymysql.install_as_MySQLdb()
# pymysql.install_as_MySQLdb()
# set the default Django settings module for the 'celery' program.
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "passbook.core.settings")