The HTTP refresh has a time delay interval. The application is internal with 
less than 20 users at this time. And it's not as if this operation is going 
to be done by all of them at the same time. (Now that I think about it, 
perhaps I also need a way to block access while the database is being 
updated.) Anyway, traffic is not much of a concern. Last, I don't know much 
about JavaScript. It's not totally out of the question but I'd prefer to 
avoid it for now. Unless there's a library somewhere that has a solution to 
this situation.

Thanks :-)

-- 


Philippe

------
The trouble with common sense is that it is so uncommon.
<Anonymous>

On Friday 04 December 2009 12:26:21 Xia Kai wrote:
> Hi!
> 
> I think you can just log everything in that five minute process into a
>  file. You can then write a view function that would read that file and
>  display the latest progress of the process. On client side, you can use
>  some javascript to visit the view function on a regular basis, say,
>  every 10 seconds.
> 
> Using a HTTP Refresh page? Well, I would not do that. Because the page
>  would be loaded quite a lot of times, which is quite unnecessary.
>  However, if you hate javascript or for some reason do not care about the
>  traffic. HTTP Refresh could be your choice.
> 
> ------------------
> Xia Kai(夏恺)
> xia...@gmail.com
> http://blog.xiaket.org
> 2009-12-05
> 
> --
> 
> You received this message because you are subscribed to the Google Groups
>  "Django users" group. To post to this group, send email to
>  django-us...@googlegroups.com. To unsubscribe from this group, send
>  email to django-users+unsubscr...@googlegroups.com. For more options,
>  visit this group at http://groups.google.com/group/django-users?hl=en.
> 

--

You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.


Reply via email to