aboutsummaryrefslogtreecommitdiffstats
path: root/config/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'config/__init__.py')
-rw-r--r--config/__init__.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/config/__init__.py b/config/__init__.py
new file mode 100644
index 0000000..10f5014
--- /dev/null
+++ b/config/__init__.py
@@ -0,0 +1,5 @@
+# This will make sure the app is always imported when
+# Django starts so that shared_task will use this app.
+from .celery_app import app as celery_app
+
+__all__ = ("celery_app",)