This sounds like a good candidate for an async Celery task:
http://docs.celeryproject.org/en/latest/index.html


On Thu, Nov 14, 2013 at 7:37 AM, Timothy W. Cook <[email protected]> wrote:

> Well, this isn't likely a Django specific question but since this
> project is built in Django, I'd like to know how best to handle this
> issue.
>
> I have a view that calls a function and performs a long running
> process.  It reads and processes a file, creating potentially
> thousands of objects and can take up to several minutes to complete.
>
> Right now it just displays a pretty much blank template.  This isn't
> very user friendly.  I imagine some kind of counter or progress bar
> but I am not certain how best to display this via Django.
>
> What do others do in this case?
>
> Thanks,
> Tim
>
>
>
> --
> MLHIM VIP Signup: http://goo.gl/22B0U
> ============================================
> Timothy Cook, MSc           +55 21 94711995
> MLHIM http://www.mlhim.org
> Like Us on FB: https://www.facebook.com/mlhim2
> Circle us on G+: http://goo.gl/44EV5
> Google Scholar: http://goo.gl/MMZ1o
> LinkedIn Profile:http://www.linkedin.com/in/timothywaynecook
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CA%2B%3DOU3WXxamXh3avPc%2BmW0yWHJERPACsvvLErx9T8OJc%3D5tsUA%40mail.gmail.com
> .
> For more options, visit https://groups.google.com/groups/opt_out.
>



-- 
Jonathan D. Baker
Developer
http://jonathandbaker.com

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAPMFOb4M7BSndCdN3N0STgwiN%2BA%2BbAZ5f80OkqBtLB1xosfr7A%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to