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 

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: 

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 
For more options, visit https://groups.google.com/d/optout.

Reply via email to