<reponame>aolabNeuro/brain-python-interface
default_app_config = "db.tracker.apps.TrackerConfig"


# This will make sure the app is always imported when
# Django starts so that shared_task will use this app.
from .celery import app as celery_app

__all__ = ('celery_app',)

try:
    import pymysql
    pymysql.install_as_MySQLdb()
except:
    print("Warning: pymysql is not installed, cannot access remote database")
default_app_config = "db.tracker.apps.TrackerConfig"


# This will make sure the app is always imported when
# Django starts so that shared_task will use this app.
from .celery import app as celery_app

__all__ = ('celery_app',)

try:
    import pymysql
    pymysql.install_as_MySQLdb()
except:
    print("Warning: pymysql is not installed, cannot access remote database")
# This will make sure the app is always imported when # Django starts so that shared_task will use this app.