

def details(self):
    details = [('Name', self.full_name)]
    if self.parent:
        self.append(('Parent Site', to_a(self.parent.full_name, self.parent)))
    else:
        details.append(('All sites', to_a('Global Site View', reverse('site-list'), use_absolute_url=False)))
    return details

dataset/ETHPy150Open mozilla/inventory/core/site/models.py Site.details/VarMisuse@29/34 `details`->`self`