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 <a href="{% url 'blog.posts_by_author' post.author.pk %}">{{ post.author }}</a> post.author.pk works well when called by several views, but it is not resolved when called by the search. There is another way to get the pk of the author of the post? The link of the StackOverflow question: http://stackoverflow.com/questions/40033039/noreversematch-error-using-haystack-elasticsearch Can someone help me? Please explain in details, because I am new in Django, and in haystack, elasticsearch... -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at https://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/fb151afb-35a8-4ac4-a9e4-69f4419568c1%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.