copy
# models.py
class Model( ) :
...
def title( self ) :
is_last = Model.objects .all ( ) .order_by ( '-date' ) .pk == self .pk
if is_last:
return '<b style="font-size:16px; color:....">%s<b>' % self .somefield
return self .somefield
title.allow_tags = True
title.short_description = _( u'SomeField' )
# admin.py
class ModelAdmin( admin.ModelAdmin ) :
list_display = ( 'title' , )
Y29weQojIG1vZGVscy5weQpjbGFzcyBNb2RlbCgpOgogCgkuLi4KIAogICAgZGVmIHRpdGxlKHNlbGYpOgogICAgCWlzX2xhc3QgPSBNb2RlbC5vYmplY3RzLmFsbCgpLm9yZGVyX2J5KCctZGF0ZScpLnBrID09IHNlbGYucGsKICAgICAgICBpZiBpc19sYXN0OgogICAgICAgIAlyZXR1cm4gJzxiIHN0eWxlPSJmb250LXNpemU6MTZweDsgY29sb3I6Li4uLiI+JXM8Yj4nICUgc2VsZi5zb21lZmllbGQKICAgICAgICByZXR1cm4gc2VsZi5zb21lZmllbGQKICAgIHRpdGxlLmFsbG93X3RhZ3MgPSBUcnVlCiAgICB0aXRsZS5zaG9ydF9kZXNjcmlwdGlvbiA9IF8odSdTb21lRmllbGQnKQogCiAKIyBhZG1pbi5weQpjbGFzcyBNb2RlbEFkbWluKGFkbWluLk1vZGVsQWRtaW4pOgogCglsaXN0X2Rpc3BsYXkgPSAoJ3RpdGxlJywp