Django and process uploading file

24 views
Skip to first unread message

ylativ oknesyl

unread,
Feb 5, 2016, 1:42:06 PM2/5/16
to Django users
How do I put the mouse cursor in the standby symbol when Django downloads a large file (about 1 gig) to the folder media

Tino Fischer

unread,
Feb 6, 2016, 10:05:45 AM2/6/16
to Django users
Simplest way to change the cursor with javascript:

document.body.style.cursor = 'wait';
or
document.body.style.cursor = 'progress';


When done loading:

document.body.style.cursor = 'auto';

ylativ oknesyl

unread,
Feb 6, 2016, 12:12:34 PM2/6/16
to django...@googlegroups.com
Thanks

С уважением В. Лысенко





--
You received this message because you are subscribed to a topic in the Google Groups "Django users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/django-users/unB4MKiVIik/unsubscribe.
To unsubscribe from this group and all its topics, send an email to django-users...@googlegroups.com.
To post to this group, send email to django...@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/9679158a-017e-4360-8c91-cb3c6573f430%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages