It would be very restful of you to pass that information through the url.
Beyond that you should look into sessions as described above or another
function (i don't know what that is), HttpResponseRedirect just redirects
the user's browser to another url.

Hope that helps,

Michael

On Sat, May 3, 2008 at 11:20 PM, Peter Rowell <[EMAIL PROTECTED]> wrote:

>
> > How can I pass a variable with HttpResponseRedirect? I've tried:
>
> I suggest using the session. This allows you to have arbitraily
> complex error structures.
>
>  E.g.,
>           session['errors'] = <anything that can be pickled>
>           HttpResponseRedirect('to somewhere')
> then in your other view(s) do something like:
>          if 'errors' in session:
>                 something that handles errors.
>
> If you want to pass it to another web site altogether, it gets more
> complicated.
> >
>

--~--~---------~--~----~------------~-------~--~----~
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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to