Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#15292 closed (fixed)

Useless piece of code in admin_list.py

Reported by: Julien Phalip Owned by: nobody
Component: contrib.admin Version: 1.2
Severity: Keywords:
Cc: Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

While I was in the neighbourhood I noticed a small useless piece of code. The case where value is None is already handled in display_for_field().

Attachments (1)

15292_useless_code_in_admin_list_py.diff (662 bytes ) - added by Julien Phalip 13 years ago.

Download all attachments as: .zip

Change History (4)

by Julien Phalip, 13 years ago

comment:1 by Russell Keith-Magee, 13 years ago

Triage Stage: UnreviewedReady for checkin

comment:2 by Russell Keith-Magee, 13 years ago

Resolution: fixed
Status: newclosed

In [15570]:

Fixed #15292 -- Removed redundant code in admin list template tag. Thanks to Julien Phalip for the report.

comment:3 by Russell Keith-Magee, 13 years ago

In [15574]:

[1.2.X] Fixed #15292 -- Removed redundant code in admin list template tag. Thanks to Julien Phalip for the report.

Backport of r15570 from trunk.

Note: See TracTickets for help on using tickets.
Back to Top