On Aug 6, 1:33 pm, bagheera <neost...@go2.pl> wrote: > I have two pages with two different forms. Each, if validated, redirects > to "thanks" page. I want to customize this behavior, so "thanks" page > should display different message, regarding witch form was invoked, or > redirects to "/' if no redirection took place (like user typed in browser > "test.com/thanks") > Unfortunately, HttpResponseRedirect takes only one argument. How can i > pass right message anyway? Or mb there is some workaround, like i could > check in "thanks" view, from what page it was redirected? > > -- > Linux user
Store something in the session when you validate the form before redirecting. -- 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 at http://groups.google.com/group/django-users?hl=en.