# Allow PyMySQL to stand in for mysqlclient on hosts where the C driver can't
# be compiled (typical on shared cPanel). No effect when using Postgres/SQLite.
try:
    import MySQLdb  # noqa: F401
except ImportError:
    try:
        import pymysql

        pymysql.install_as_MySQLdb()
    except ImportError:
        pass

from .celery import app as celery_app

__all__ = ('celery_app',)
