Ticket #16380: 16380.diff
File 16380.diff, 613 bytes (added by , 13 years ago) |
---|
-
django/contrib/admin/templatetags/admin_list.py
357 357 358 358 @register.inclusion_tag('admin/filter.html') 359 359 def 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} 361 361 362 362 @register.inclusion_tag('admin/actions.html', takes_context=True) 363 363 def admin_actions(context):