Skip to content

Instantly share code, notes, and snippets.

@LouisdeBruijn
Created July 14, 2020 15:31
Show Gist options
  • Select an option

  • Save LouisdeBruijn/445867875786ebcf9a7e72929a2cdf2e to your computer and use it in GitHub Desktop.

Select an option

Save LouisdeBruijn/445867875786ebcf9a7e72929a2cdf2e 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