Ticket #827: autogen.diff
File autogen.diff, 650 bytes (added by , 19 years ago) |
---|
-
django/contrib/admin/views/main.py
361 361 try: 362 362 header = func.short_description 363 363 except AttributeError: 364 header = func.__name__ 364 header = func.__name__.replace('_', ' ') 365 365 # Non-field list_display values don't get ordering capability. 366 366 raw_template.append('<th>%s</th>' % capfirst(header)) 367 367 else: