runnel
runnel copied to clipboard
Feature Request: Django Integration
Hi, I was wondering if you have plans for adding django integration.
Hey, thanks for the question. I'm not using Django at the moment, so it's not in my immediate plans. What changes would be required to support it?
Thanks for reaching back. I'm facing django's ImproperlyConfigured exception from here when attempting to import models, so I think it's just a matter of initializing django before the worker starts. Faust has a 'fixup' for django which I think can be used as a reference in this case.
Another quality-of-life improvement would be to automatically set PYTHONPATH to django project directory, I struggled with it for a while before realizing I needed to set the PYTHONPATH.