Skip to content

Instantly share code, notes, and snippets.

@timothymugayi
Created May 11, 2020 15:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save timothymugayi/137cc421748a2e211e56848bb8438002 to your computer and use it in GitHub Desktop.
Save timothymugayi/137cc421748a2e211e56848bb8438002 to your computer and use it in GitHub Desktop.
from __future__ import absolute_import, unicode_literals
# 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',]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment