title: Django: template needs to return per-item result based on who you are
body: <p>As my template loops through a list of <code>Forum</code> objects provided by the View, I need to present a value <em>("number of posts ...")</em> that will depend on who the user is – and of course, if he is anonymous.</p>
  
  <p>So, I basically need to call a function, from the template, whose arguments are "the current <code>Forum</code> object" and "the current request – thus giving me access to the user."  In order to return the appropriate integer as seen by this user.</p>
  
  <p>How do I do that, the Django way?</p>