Tuesday, June 15, 2021

Re: Real-time dashboard method after delivering restapi from outside

At a guess, I'd say you will need Django Channels - many blogs and tutorials out there, but here is one good worked example:

https://blog.logrocket.com/django-channels-and-websockets/

On Monday, 14 June 2021 at 15:32:51 UTC+2 lkh...@gmail.com wrote:
It is currently returning after receiving an api request from another system. I want to update the dashboard to Ajax after returning the request, but I can't find a way. Can you tell me how to send a signal from javascript or how to transfer it to JsonResponse? I don't know how to give it to you because the template is different.  

--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/7f300569-d9a0-4b32-87cd-0678a43f7022n%40googlegroups.com.

No comments:

Post a Comment