Thank you for your time, Constantine.
I gave up on following this path.
I threw away everything that I did on this matter, and I followed the steps
of this link: http://django-haystack.readthedocs.io/en/v2.5.0/tutorial.html
It took me some time to understand, but now it is working fine.
Hi Aline,
I did not use Haystack but I am using ElastickSearch.
I carefully read you post on StackOverflow and see that search form returns
author of the post without `pk` key defined.
Did you check what is returned by ElastickSearch?
May be your SearchForm returns exactly what Elastick stores
Hello everybody,
I am having a issue using Django + Haystack + Elasticsearch to perform a
website search.
I made a question on StackOverflow, but I had no satisfatory answer.
The problem is in this line:
by {{ post.author
}}
post.author.pk works well when called by several views, but it is
3 matches
Mail list logo