def showdetail(self): kemu=self.tw.item(self.tw.currentRow(),0).text() self['description']=Accounting.get_or_404(kemu).as_html