I am making a django live chat app using django channels. I have a Message model where I store all the previous messages. Now I need to load them when an user connects to the websocket. This is my code: https://textuploader.com/1x5ve https://textuploader.com/1x50b
Can you suggest me how to approach this? I got a recommendation to do it with ajax but I am not really familiar with it. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/6e792a1c-aa67-4e2b-8f17-7844a24cf8d7n%40googlegroups.com.