Hello list,

I've a long time run process, which started by a method of a Django
model object. It runs through djutils.decorators.async decorator,
like this:

  @djutils.decorators.async
  def my_long_time_process(self, foo):
    ....

When this process starts, it creates a file, and write the lines
to that (messages).

It works perfectly, till it runs, clients (http browsers) calls
a view, which reads that file above, and shows up the state of
long time process to customers.


Is there any more elegant way to implement this?


Thank you:


a.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@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