@classmethod<EOL><INDENT>def add_display(cls, attr, title='<STR_LIT>'):<DEDENT>
global klass_count<EOL>klass_count += <NUM_LIT:1><EOL>fn_name = '<STR_LIT>' % klass_count<EOL>cls.list_display.append(fn_name)<EOL>if not title:<EOL><INDENT>title = attr.capitalize()<EOL><DEDENT>def _ref(self, obj):<EOL><INDENT>_, _, value = lookup_field(attr, obj, cls)<EOL>return value<EOL><DEDENT>_ref.short_description = title<EOL>_ref.allow_tags = True<EOL>_ref.admin_order_field = attr<EOL>setattr(cls, fn_name, _ref)<EOL>
Adds a ``list_display`` property without any extra wrappers,
        similar to :func:`add_displays`, but can also change the title.

        :param attr:
            Name of the attribute to add to the display

        :param title:
            Title for the column of the django admin table.  If not given it
            defaults to a capitalized version of ``attr``