Skip to content

Commit 48a675b

Browse files
committed
i think this is what i need to do for task subclassing
1 parent b85c503 commit 48a675b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

celery_haystack/__init__.py

+4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
__version__ = '0.10'
22

33

4+
# this is not a django AppConfig object and therefore needs to be imported here so other tasks can subclass CeleryHaystackSignalHandler
5+
from .conf import CeleryHaystack
6+
7+
48
def version_hook(config):
59
config['metadata']['version'] = __version__

0 commit comments

Comments
 (0)