Ticket #16380: 16380.diff

File 16380.diff, 613 bytes (added by Harro, 13 years ago)
  • django/contrib/admin/templatetags/admin_list.py

     
    357357
    358358@register.inclusion_tag('admin/filter.html')
    359359def admin_list_filter(cl, spec):
    360     return {'title': spec.title, 'choices' : list(spec.choices(cl))}
     360    return {'title': spec.title, 'choices' : list(spec.choices(cl)), 'spec': spec}
    361361
    362362@register.inclusion_tag('admin/actions.html', takes_context=True)
    363363def admin_actions(context):
Back to Top