Monday, January 31, 2011

Re: Redirect with current data

Maybe this will help you: http://docs.djangoproject.com/en/dev/topics/http/shortcuts/


Op 31-jan-2011, om 06:36 heeft Antônio Ribeiro het volgende geschreven:

> Hello guys!
>
> I've been wondering about this all night and i've already made a search on google and everything, but I didn't get a straight answer.
>
> Is there a way to make a redirect and send data from my current request to the other page.
>
> I mean, I could use the render_to_response to call another template and render the content I want.
> But I just want to know if it's possible to redirect to other view with the data coming from the current request.
>
> I know it's odd, but this would send a 302 HTTP code to the User-Agent, I think that would be the right way.
>
> Sorry for my horrible english.
> It's been years since I wrote something that long in English.
>
> Thanks in advance!
>
> --
> Antonio Ribeiro
>
> --
> 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 django-users+unsubscribe@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

Met vriendelijke groeten,

Jonas Geiregat
jonas@geiregat.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-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

No comments:

Post a Comment