Ticket #12654: fix.diff
File fix.diff, 450 bytes (added by , 15 years ago) |
---|
-
django/contrib/admin/util.py
247 247 f = None 248 248 else: 249 249 attr = None 250 value = getattr(obj, f.attname)250 value = getattr(obj, name) 251 251 return f, attr, value 252 252 253 253 def label_for_field(name, model, model_admin=None, return_attr=False):