title: django filter with no arguments
body: <p>I'm trying to write a custom filter that retrieves a list of objects which I then use in my template. So far I've got:</p>
  
  <pre><code>@register.filter
  def get_my_object_list(user):
     return some list after processing
  </code></pre>
  
  <p>And in template:</p>
  
  <pre><code>{% for page in request.user|get_pages_with_no_menu %}
       Some rendering here.
  {% endfor %}
  </code></pre>
  
  <p>Now this works fine, and this might sound silly, but I can't find the solution. I don't really need the user in that filter, so I would want to not have any parameters to it. Is this possible, and how do I call it from the template?</p>
  
  <p>Thanks</p>