我在谷歌上搜索并查看了文档,但没有找到任何与此场景相关的内容:
我得到了一个主/细节模型,定义如下:
class Master(models.Model):
title = models.CharField(max_length=100)
def details_url(self):
return '<a href="here comes the url linking to details">Details</a>'
details_url.short_description = 'Link t