Skip to content

Instantly share code, notes, and snippets.

@sikaili99
Created April 19, 2020 12:35
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 sikaili99/8fd379560d05ee310495bc93e34ac43f to your computer and use it in GitHub Desktop.
Save sikaili99/8fd379560d05ee310495bc93e34ac43f 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