Re: Can I use Django Channels to solve this architectural prolem?

2016-11-18 Thread psaod8fza9s
Hi Andrew, thanks for the advice. Since I implement websockets to serve my users the live logs, I would just route the service commands (e.g. "service.start") through the websocket, too. That way I also don't have to block other things while waiting for the response whether the command was succ

I don't understand the second paragraph on the Getting Started with Channels documentation

2016-11-17 Thread psaod8fza9s
> > When you run Django out of the box, it will be set up in the default > layout - where all HTTP requests (on the http.request channel) are routed > to the Django view layer. What is meant with "on the http.request channel" in the context of "out of the box"? Out of the box Django does not

Can I use Django Channels to solve this architectural prolem?

2016-11-15 Thread psaod8fza9s
Hi there, I want to develop a Django site where users have the possibility to interact with systemd services in realtime and to see the log output in realtime. I sketched up a quick draft on my idea how this could work: https://i.imgur.com/pd5uLtl.jpg One simplified use-case would be: 1.