These are chat archives for django/django

Dec 2018
Dec 05 2018 05:27

I'm needing to create a permanent websocket connection as a background task with Django & update the database with the messages received, or to update an object that is accessible through Django.

I don't believe channels can do what I require & I'm trying to avoid creating a standalone application to integrate in, I'm just wanting the data to be available on my website & to be able to send messages back also.

Can someone point me in the right direction please?

Dec 05 2018 11:17
@richiehubbard maybe graphql subcriptions ?
Graphene is supposed to have implemented graphql subscritpbtions. It's a websocket connection over graphql. it can keep you up to date with anything you subscribe to.