Reviewing my own application, I realized there are much my view has to
take care of that doesn't need to delay HttpResponse to the user.

For instance, I need to
- extract the newly uploaded PDF file to extract and index its text.
- create PDF docs for new orders
- Resize uploaded image, etc

All of which do not need the user to wait around for the process. I was
thinking to run those processes on a second thread as the view, but I
wasn't sure if it's a good practice. So, I was thinking it would be
ideal if Django can provide some sort of post processing features
either within the same function (instead of returning HttpResponse, you
call it) or a secondary function that is called when the view returns.

I'd appreciate ideas,
Regards,
Sia


--~--~---------~--~----~------------~-------~--~----~
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