Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed #15292 -- Removed redundant code in admin list template tag. Th…

…anks to Julien Phalip for the report.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@15570 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit c63bc87a9872ed8379426c2cb4d44c78e9eed632 1 parent 127725c
@freakboy3742 freakboy3742 authored
Showing with 0 additions and 2 deletions.
  1. +0 −2  django/contrib/admin/templatetags/admin_list.py
View
2  django/contrib/admin/templatetags/admin_list.py
@@ -153,8 +153,6 @@ def items_for_result(cl, result, form):
else:
result_repr = mark_safe(result_repr)
else:
- if value is None:
- result_repr = EMPTY_CHANGELIST_VALUE
if isinstance(f.rel, models.ManyToOneRel):
field_val = getattr(result, f.name)
if field_val is None:
Please sign in to comment.
Something went wrong with that request. Please try again.