B
B
bwylla2019-03-30 12:05:41
Django
bwylla, 2019-03-30 12:05:41

Chat in pure Django?

I'm trying to write a chat, I googled a lot and in almost all articles I use Django in conjunction with Ajax for this task. Chat on pure django is basically impossible, or possible, but is it better not to do this?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
7
776166, 2019-04-04
@bwylla

Better not. Try websockets.
1) A working example of a chat https://github.com/sushma-goutam/ws-chat
2) Raise it in the context of the django project and integrate it there, getting everything you want in any form and quantity. ( https://toster.ru/q/618375)
3) Profit.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question