Chat with DjangoChannels and DRF

43 views
Skip to first unread message

Darwin Vasquez

unread,
Feb 15, 2018, 6:50:24 PM2/15/18
to Django users
I'm trying to make a chat on real time for the web.

 I was playing  with Django-Channels, and it seems to me that works fine. 

But now, I'm not sure. I need to make the chat over an api on REST. 

For that, I will using DRF, and to render the data I would make the website on another instance.

So basically a api with DRF (that serves the chat, and store the messages) and a website (on django too) that render the data, (this on another  instance).


My Question is. Channels works for this case?. Where do I need to work the websocket, and Install django-Channels, Daphne and Redis? On the DRF or the website?. What is the aproach to do it? please some help.
Reply all
Reply to author
Forward
0 new messages