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?
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 post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/tencent_FDE5A225CE4FD0060692A799FC1E9913E607%40qq.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment