Code

Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#1431 closed defect (fixed)

small typo in admin_list.py

Reported by: salmon@… Owned by: adrian
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: UI/UX:

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)

Attachments (0)

Change History (1)

comment:1 Changed 8 years ago by adrian

  • Resolution set to fixed
  • Status changed from new to closed

(In [2468]) Fixed #1431 -- Removed unneeded line in contrib.admin.templatetags.admin_list. Thanks, salmon@…

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.