

def get_caption(self):
    if (self.caption is None):
        opts = self.get_model()._meta
        self.caption = opts.verbose_name_plural.capitalize()
    return opts.caption

dataset/ETHPy150Open gerry/django-jqgrid/jqgrid.py JqGrid.get_caption/VarMisuse@45/52 `self`->`opts`