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
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
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
(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
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
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.
6 matches
Mail list logo