-
I wanted to run FastStream within a django management command to get the entire Django context (and ORM). |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Hello! We already have Django integration documentation: https://faststream.airt.ai/latest/getting-started/integrations/django/ But if you want to run faststream in a separated process from django CLI, you can figure something out arounf of Also, you can take a look at #854 discussion - it can be helpful in your case |
Beta Was this translation helpful? Give feedback.
-
That's how I managed to launch it:
|
Beta Was this translation helpful? Give feedback.
Just
asyncio.run(app.run())
, I don't have any advices about itYou should google smth like
setup django ORM without manage.py
- it is not realted to FastStream and I don't remember, how to do it