﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
23588	list_display method attributes description links	eliasvc	Curtis Maloney	"Hello,

This is a piece of code that first describe the use of method attributes in callback functions used in list_display on Django tutorial, page two [https://docs.djangoproject.com/en/1.7/intro/tutorial02/]
{{{
class Question(models.Model):
    # ...
    def was_published_recently(self):
        return self.pub_date >= timezone.now() - datetime.timedelta(days=1)
    was_published_recently.admin_order_field = 'pub_date'
    was_published_recently.boolean = True
    was_published_recently.short_description = 'Published recently?'
}}}

The problem is none of those method attribute definitions take you somewhere where it describes what they do. It can be very confusing for a person starting out. In fact, it would be awesome if there was some kind of index of method attributes one can use since their descriptions on the admin page are scattered."	Cleanup/optimization	closed	Documentation	1.7	Normal	fixed			Accepted	0	1	0	0	0	0
