#1431 closed defect (fixed)
small typo in admin_list.py
Reported by: | Owned by: | Adrian Holovaty | |
---|---|---|---|
Component: | contrib.admin | Version: | |
Severity: | normal | Keywords: | |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
unused assignment in django/contrib/admin/templatetags/admin_list.py line 181
def result_list(cl): >> res = list(results(cl)) return {'cl': cl, 'result_headers': list(result_headers(cl)), 'results': list(results(cl))} result_list = register.inclusion_tag("admin/change_list_results")(result_list)
Note:
See TracTickets
for help on using tickets.
(In [2468]) Fixed #1431 -- Removed unneeded line in contrib.admin.templatetags.admin_list. Thanks, salmon@…