Ticket #2148: admin_list.diff
File admin_list.diff, 569 bytes (added by , 18 years ago) |
---|
-
admin_list.py
131 131 132 132 if isinstance(f.rel, models.ManyToOneRel): 133 133 if field_val is not None: 134 result_repr = getattr(result, f.name)134 result_repr = escape(getattr(result, f.name)) 135 135 else: 136 136 result_repr = EMPTY_CHANGELIST_VALUE 137 137 # Dates and times are special: They're formatted in a certain way.