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

Feature Request: Django Integration #7

Open
zyrif opened this issue Nov 21, 2020 · 2 comments
Open

Feature Request: Django Integration #7

zyrif opened this issue Nov 21, 2020 · 2 comments

Comments

@zyrif
Copy link

zyrif commented Nov 21, 2020

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

@mjwestcott
Copy link
Owner

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?

@zyrif
Copy link
Author

zyrif commented Nov 22, 2020

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.

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