Re: Haystack with Whoosh Not Redirecting.

2012-06-25 Thread Nikolas Stevenson-Molnar
If I am reading your view correctly, it creates a new "Meek" if the form has been submitted, and doesn't query any records from the database. Is this really what you want in response to a user clicking a search result? _Nik On 6/25/2012 11:46 AM, coded kid wrote: > Yes the form is expecting data

Re: Haystack with Whoosh Not Redirecting.

2012-06-25 Thread coded kid
Yes the form is expecting data from users and it will filtered on the same page. will it still work? Nikolas Stevenson-Molnar wrote: > See the examples given for the permalink decorator: > https://docs.djangoproject.com/en/1.4/ref/models/instances/#the-permalink-decorator > > Also, review URLs in

Re: Haystack with Whoosh Not Redirecting.

2012-06-25 Thread Nikolas Stevenson-Molnar
See the examples given for the permalink decorator: https://docs.djangoproject.com/en/1.4/ref/models/instances/#the-permalink-decorator Also, review URLs in Django: https://docs.djangoproject.com/en/1.4/topics/http/urls/ In your case, you don't specify any arguments in your URL (or your view func

Re: Haystack with Whoosh Not Redirecting.

2012-06-25 Thread coded kid
(r'^find/$', findme), So how will i input the arguments? any example? thanks. Nikolas Stevenson-Molnar wrote: > Take another look at your get_absolute_url method. As written, it > specifies several keyword arguments to the view, but the "findme" view > does not take any arguments. Also, what does

Re: Haystack with Whoosh Not Redirecting.

2012-06-25 Thread Nikolas Stevenson-Molnar
Take another look at your get_absolute_url method. As written, it specifies several keyword arguments to the view, but the "findme" view does not take any arguments. Also, what does your urls.py file look like? _Nik On 6/25/2012 10:14 AM, coded kid wrote: > I successfully installed whoosh and mad

Haystack with Whoosh Not Redirecting.

2012-06-25 Thread coded kid
I successfully installed whoosh and made it work with Haystack. Things are working fine but I'm facing one problem which is; after searching for a keyword and it print out the results, when I click on the result(title), It won't redirect me to the page of the keyword I clicked on, it's just static.