          'show_result_count': cl.result_count != cl.full_result_count,
          'search_var': SEARCH_VAR
      }
  
  @register.inclusion_tag('admin/filter.html')
  def admin_list_filter(cl, spec):
      return {'title': spec.title, 'choices' : list(spec.choices(cl))}
  
  @register.inclusion_tag('admin/actions.html', takes_context=True)
  def admin_actions(context):
 
</s> remove     return {'title': spec.title, 'choices' : list(spec.choices(cl))}
 </s> add     tpl = get_template(spec.template)
    return tpl.render(Context({
        'title': spec.title,
        'choices' : list(spec.choices(cl)),
        'spec': spec,
    })) </s> remove     AdminOrderedCallable, Report)
 </s> add     AdminOrderedCallable, Report, Color2)
@register.simple_tag
          'show_result_count': cl.result_count != cl.full_result_count,
          'search_var': SEARCH_VAR
      }
  
@register.simple_tag
  def admin_list_filter(cl, spec):
      return {'title': spec.title, 'choices' : list(spec.choices(cl))}
  
  @register.inclusion_tag('admin/actions.html', takes_context=True)
  def admin_actions(context):
keep keep keep keep replace keep keep keep keep keep
 Fixed #17515 -- Added ability to override the template of custom admin FilterSpec classes. Thanks, saxix and Julien Phalip.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@17483 bcc190cf-cafb-0310-a4f2-bffc1f526a37 
django/contrib/admin/templatetags/admin_list.py