Electronics & Programming

develissimo

Open Source electronics development and programming

  • You are not logged in.
  • Root
  • » Django
  • » Actions after HttpResponse rendered? [RSS Feed]

#1 June 21, 2010 06:50:01

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

Actions after HttpResponse rendered?


There's a similar question as mine on stackoverflow.com:http://stackoverflow.com/questions/1081340/how-do-you-do-something-after-you-render-the-view-djangoand there isn't a satisfactory answer there.

Basically, how do I do some thing after a view returns the response?
Does request_finished enables that kind of operations?

--
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 June 21, 2010 09:39:13

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

Actions after HttpResponse rendered?


On Jun 21, 6:46 am, DaNmarner <danmar...@gmail.com> wrote:
> There's a similar question as mine on stackoverflow.com:
>
>http://stackoverflow.com/questions/1081340/how-do-you-do-something-af...
>
> and there isn't a satisfactory answer there.
>
> Basically, how do I do some thing after a view returns the response?
> Does request_finished enables that kind of operations?

Why do you think none of those answers is satisfactory? There are a
few useful recommendations on that page. What exactly do you need that
isn't covered?
--
DR.

--
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 June 21, 2010 11:29:05

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

Actions after HttpResponse rendered?


On 21/06/10 06:46, DaNmarner wrote:There's a similar question as mine on stackoverflow.com:http://stackoverflow.com/questions/1081340/how-do-you-do-something-after-you-render-the-view-djangoand there isn't a satisfactory answer there.

Basically, how do I do some thing after a view returns the response?Short answer: save yourself hassle and set up celery. The answers onthat page do talk in general terms about using message queues andbackground processes, which is exactly what celery helps you doconcretely in a django context:http://celeryproject.org/--
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

#4 June 21, 2010 18:46:37

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

Actions after HttpResponse rendered?


For one, I want to know if request_finished works here.

On Jun 21, 3:39 am, Daniel Roseman <dan...@roseman.org.uk> wrote:
> On Jun 21, 6:46 am, DaNmarner <danmar...@gmail.com> wrote:
>
> > There's a similar question as mine on stackoverflow.com:
>
> >http://stackoverflow.com/questions/1081340/how-do-you-do-something-af...
>
> > and there isn't a satisfactory answer there.
>
> > Basically, how do I do some thing after a view returns the response?
> > Does request_finished enables that kind of operations?
>
> Why do you think none of those answers is satisfactory? There are a
> few useful recommendations on that page. What exactly do you need that
> isn't covered?
> --
> DR.

--
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
  • » Actions after HttpResponse rendered? [RSS Feed]

Board footer

Moderator control

Enjoy the 15th of December
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