I have started learning django. I was trying to displaying the query result in a html page using this code:
<ul>
   {% for book in booklist %}
     <li>{{ book.bid book.name  }}<li>
   {% endfor %}
</ul>
This gives me an error saying,
Exception Type: TemplateSyntaxError
Exception Value: Could not parse the remainder: ' book.name' from 'book.bid book.name'
But when i either remove book.bid or book.name, it works fine. How do i make both the attributes to be shown?