Electronics & Programming

develissimo

Open Source electronics development and programming

  • You are not logged in.
  • Root
  • » Django
  • » Any Django framework command to freeze/wait/notify ? [RSS Feed]

#1 Jan. 5, 2011 07:21:45

v.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

Any Django framework command to freeze/wait/notify ?


Hi all,

This is a common scenario which many of you have faced.

Say, I created a simple view file, in which user uploads a file and
does some processing at backend and after processing is finished I am
rendering a html page with some processed result.

My problem is that, there should be some kind of a mechanism, by which
I can notify user that "processing is going in background, so please
wait till the processing finished."

So, what are the easy to implement options I have ? Does Django
provides something for these scenario ? Will javascript (timer
mechanism) work ?

Comment/suggestions ?

--
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 athttp://groups.google.com/group/django-users?hl=en.

Offline

#2 Jan. 5, 2011 08:25:42

Mo M.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

Any Django framework command to freeze/wait/notify ?


Am not quite sure of your question, but I use celery to create jobs running
in the background, queue them and get their status.http://celeryproject.org/<http://celeryproject.org/>regards,

On Wed, Jan 5, 2011 at 10:21 AM, vivek_12315 <vivekchauras...@gmail.com>wrote:

> Hi all,
>
> This is a common scenario which many of you have faced.
>
> Say, I created a simple view file, in which user uploads a file and
> does some processing at backend and after processing is finished I am
> rendering a html page with some processed result.
>
> My problem is that, there should be some kind of a mechanism, by which
> I can notify user that "processing is going in background, so please
> wait till the processing finished."
>
> So, what are the easy to implement options I have ? Does Django
> provides something for these scenario ? Will javascript (timer
> mechanism) work ?
>
> Comment/suggestions ?
>
> --
> 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<django-users%2bunsubscr...@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 athttp://groups.google.com/group/django-users?hl=en.

Offline

#3 Jan. 5, 2011 12:33:14

J.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

Any Django framework command to freeze/wait/notify ?


+1 for Celery. For Django integration, see django-celery:https://github.com/ask/django-celery-Justin

On Jan 5, 2:21 am, vivek_12315 <vivekchauras...@gmail.com> wrote:
> Hi all,
>
> This is a common scenario which many of you have faced.
>
> Say, I created a simple view file, in which user uploads a file and
> does some processing at backend and after processing is finished I am
> rendering a html page with some processed result.
>
> My problem is that, there should be some kind of a mechanism, by which
> I can notify user that "processing is going in background, so please
> wait till the processing finished."
>
> So, what are the easy to implement options I have ? Does Django
> provides something for these scenario ? Will javascript (timer
> mechanism) work ?
>
> Comment/suggestions ?

--
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 athttp://groups.google.com/group/django-users?hl=en.

Offline

  • Root
  • » Django
  • » Any Django framework command to freeze/wait/notify ? [RSS Feed]

Board footer

Moderator control

Enjoy the 20th of October
PoweredBy

The Forums are managed by develissimo stuff members, if you find any issues or misplaced content please help us to fix it. Thank you! Tell us via Contact Options
Leave a Message
Welcome to Develissimo Live Support