Re: Django Search via Form Redirect to URL

2014-07-28 Thread Conner DiPaolo
On Monday, July 28, 2014 11:49:12 AM UTC-7, Branko Majic wrote: > > I have tried hacking your code on top of one of my search pages, and > definitively managed to get it working once I added the name for the > input. > > Without the name, the search view would otherwise just fall through and

Re: Django Search via Form Redirect to URL

2014-07-28 Thread Branko Majic
On Mon, 28 Jul 2014 07:41:23 -0700 (PDT) Conner DiPaolo wrote: > > > On Monday, July 28, 2014 4:42:07 AM UTC-7, Branko Majic wrote: > > > > > > In your search method, if the request method was POST, you are trying > > to retrieve submitted data via key 'search_string'.

Re: Django Search via Form Redirect to URL

2014-07-28 Thread Conner DiPaolo
On Monday, July 28, 2014 4:42:07 AM UTC-7, Branko Majic wrote: > > > In your search method, if the request method was POST, you are trying > to retrieve submitted data via key 'search_string'. However, if you > look at your HTML form, there does not seem to be any kind of input > field called

Re: Django Search via Form Redirect to URL

2014-07-28 Thread Branko Majic
On Sun, 27 Jul 2014 15:11:20 -0700 (PDT) Conner DiPaolo wrote: > > > I already have a valid search function mapped in my Django project, you > type in a url '/project/search//' and it responds the corresponding search > results on a page. I want to have a search box in

Django Search via Form Redirect to URL

2014-07-27 Thread Conner DiPaolo
I already have a valid search function mapped in my Django project, you type in a url '/project/search//' and it responds the corresponding search results on a page. I want to have a search box in my nav-bar that was created in my base.html and have users type in a query and it will redirect