Skip to content

Instantly share code, notes, and snippets.

@fchevitarese
Created August 13, 2015 15:50
Show Gist options
  • Save fchevitarese/f5f3f0240456de61f0b2 to your computer and use it in GitHub Desktop.
Save fchevitarese/f5f3f0240456de61f0b2 to your computer and use it in GitHub Desktop.
__init__.py
from __future__ import absolute_import
# This will make sure the app is always imported when
# Django starts so that shared_task will use this app.
from .celery_container import app as celery_app
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment