How can i send message to channel in views?

9 views
Skip to first unread message

麦田的守望者

unread,
May 26, 2018, 5:02:10 AM5/26/18
to django-users
I want upload an excel file to server by FileField, and then the server read data from the excel and update the database in a view.
the problem is that the database updating  may sustain a long time, i want  send the progress to the browser. i think django channel may be a good choice, but i don't know how to send message from a view to a channel?
Reply all
Reply to author
Forward
0 new messages