runnel icon indicating copy to clipboard operation
runnel copied to clipboard

Feature Request: Django Integration

Open zyrif opened this issue 4 years ago • 2 comments

Hi, I was wondering if you have plans for adding django integration.

zyrif avatar Nov 21 '20 00:11 zyrif

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?

mjwestcott avatar Nov 21 '20 14:11 mjwestcott

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.

zyrif avatar Nov 22 '20 01:11 zyrif