try:
    import pymysql
    pymysql.install_as_MySQLdb()
except ImportError:
    pass  # Docker uses mysqlclient natively

# Celery app — import so that @shared_task uses this app
try:
    from .celery import app as celery_app
    __all__ = ('celery_app',)
except ImportError:
    pass  # celery not installed (local dev without redis)
