__init__.py 279 B

12345678
  1. """ we need this file to initialize celery """
  2. from __future__ import absolute_import, unicode_literals
  3. # This will make sure the app is always imported when
  4. # Django starts so that shared_task will use this app.
  5. from .celery import app as celery_app
  6. __all__ = ("celery_app",)