Ticket #17308: patch_r17159.diff
File patch_r17159.diff, 616 bytes (added by , 13 years ago) |
---|
-
django/contrib/admin/util.py
289 289 290 290 if hasattr(attr, "short_description"): 291 291 label = attr.short_description 292 elif isinstance(attr, property) and hasattr(attr, "fget") and hasattr(attr.fget, "short_description"): 293 label = attr.fget.short_description 292 294 elif callable(attr): 293 295 if attr.__name__ == "<lambda>": 294 296 label = "--"