def get_category_attr(self, name, default=False):
        category = self.get_category_model()
        return getattr(category, name, default)
Returns a custom attribute of a category model for this list.
dataset/ETHPy150Open idlesign/django-sitecats/sitecats/toolbox.py/CategoryList.get_category_attr