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

More than one Stream per Model? #79

Open nerdoc opened 1 year ago

nerdoc commented 1 year ago

Could turbo be refactored to add more than one Stream per Model? It sometimes is needed to add more streams to a model to add different functionality (of different plugins e.g.). If there is already a model stream, it "blocks" adding another one. So plugin functionality has to be added into the ModelStream.

This IMHO could be done better by making it possible to add more than one Stream to a Model, and e.g. making .stream a list object.

Is this possible?