hotwire-django / turbo-django

Unmaintained // An early stage integration of Hotwire Turbo with Django
https://discuss.hotwire.dev/t/django-backend-support-for-hotwire/1570/
Other
385 stars 20 forks source link

Add ability to subscribe/broadcast to other streams over websockets not directly related to models #14

Closed davish closed 3 years ago

C4ptainCrunch commented 3 years ago

I'm adding a bit of context, since this comes from a Slack discussion.

One example of a non-model stream: let's say I want to use the django messages API, but without a redirect like a "toaster" popup sent from the server sometimes you might want a model, sure, but also I might want it sent from a signal, like when a friend logs into your app.