示例#1
0
 def product_admin_link(self, obj):
     p = obj.product
     return u'<a href="%s" title="%s">%s</a>' % (
         get_change_url(p), force_escape(p.description), force_escape(p))
示例#2
0
 def job_admin_link(self, obj):
     j = obj.job
     return u'<a href="%s">%s</a>' % (
         get_change_url(j), j)