

def add_view(self, view):
    '\n        Adds a view to the category\n        '
    if (view not in self.data.values()):
        if (view.model not in self.models):
            self.models.append(view.model)
        self.data[view.slug] = view

dataset/ETHPy150Open django-bmf/django-bmf/djangobmf/core/category.py Category.add_view/original