Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

celery_enable_all clarification #12

Closed
hassa opened this issue Dec 6, 2012 · 2 comments
Closed

celery_enable_all clarification #12

hassa opened this issue Dec 6, 2012 · 2 comments

Comments

@hassa
Copy link

hassa commented Dec 6, 2012

I see the johnny.utils.celery_enable_all function, but it is not clear where it should be called from.

I see this same question posted on the (old?) bitbucket repo too in issue 47 but it was never answered.

Any clarification would be much appreciated.

@chrismarceloph
Copy link

I tried to apply to celery_enable_all the steps in the docs for enabling johnny beyond the middleware, and it worked.

So add this to your project's __init__.py:

from johnny.cache import celery_enable_all
celery_enable_all()

@hassa
Copy link
Author

hassa commented Jan 16, 2013

I must have missed the init.py bit in the docs, thanks!

@hassa hassa closed this as completed Jan 16, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants