Re: passing arguments in HttpResponseRedirect(reverse())

2009-02-23 Thread Guri
I apologize for not being clear first time. Its so idiot of me. Here m trying to provide a search page having a text box input and a radio button. User types one or more tags to search and a radio input button decides to either search local user account data or all database for links. Also there

Re: passing arguments in HttpResponseRedirect(reverse())

2009-02-22 Thread Malcolm Tredinnick
On Sat, 2009-02-21 at 15:37 -0800, Guri wrote: > Hi, > I need help in solving two small problems. > > 1. A form submitted, after validation calls HttpResponseRedirect > (reverse('view.get_links',args=(request.POST['data']))) > > In url pattern > (r'^links/(?P.*)/',get_links), > > I a

passing arguments in HttpResponseRedirect(reverse())

2009-02-21 Thread Guri
Hi, I need help in solving two small problems. 1. A form submitted, after validation calls HttpResponseRedirect (reverse('view.get_links',args=(request.POST['data']))) In url pattern (r'^links/(?P.*)/',get_links), I am trying to send one more argument along with "request.POST ['data'