I did something like this in perl using HTML::Mason. However I used
'system' to start the background process, and files for
communication...

Its an on-demand backup system. The HTML::Mason code creates a temp
file and then uses 'system' to run the backup job, passing the
filename. The backup then noodles away for however long, sticking stuff
in the temp file. Once its finished, it moves the tempfile to a log
directory.

 Meanwhile an auto-refresh page is on the users' browser. It checks the
presence of the temp file and shows the last ten lines if its there, or
goes 'Hey, your backup is finished' if its gone.

 I dont see why you couldn't do this in Django - start a totally new
process with os.system which can 'import django' and access the model.
Then communicate with files... Perhaps :)


--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to