-
Notifications
You must be signed in to change notification settings - Fork 0
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
How can I consume external streams in django #7
Comments
If you want to use Hotwire Turbo Stream and Websocket to do real-time update. Please check more details on this link https://django-turbo-helper.readthedocs.io/en/latest/real-time-updates.html In your code, Thx. |
In this doc, If i didn't miss something there two way one of them sse like below, other is actioncable right?
But I'm trying to do this with actioncable. Also I got another problem for |
The It has custom As for If you do have this requirement, I suggest you to check how Wagtail do this with extension: https://docs.wagtail.org/en/stable/reference/jinja2.html Thx. |
Hi, I have Rails turbo streams and I want to subscribe from my django project. I Try to create a consumer for that but i didn't succeed. Is there a way to do that? Or I just need to use asyncio websocket client for that?
urlpatterns = [
path("cable", ActionCableConsumer.as_asgi()),
path("external",CustomActionCableConsumer.as_asgi())
]
The text was updated successfully, but these errors were encountered: