﻿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
766	"[patch, new-admin] Allow html tags if ""allow_tags"" model's method attribute is present"	plisk	rjwittams	"Subj, to use like shown below. It allows to include html in object list. Patch against revision 1153, change is in function items_for_result.

{{{
#!python
class Policy(meta.Model):
        subject = meta.CharField(maxlength=100)
        date_added = meta.DateTimeField('Date Added', default=datetime.today())

        def link_view(self):
                return '<a href=""' + str(self.id) + '/view/' + '"">view</a>'
        link_view.short_description = 'Action'
        link_view.allow_tags = True

        class META:
                admin = meta.Admin(
                                        list_display = ('subject', 'date_added', 'link_view'),
                                )
}}}
"	enhancement	new	contrib.admin		minor				Unreviewed	0	0	0	0	0	0
