def add_view(self, view):
        if view not in self.data.values():
            if view.model not in self.models:
                self.models.append(view.model)
            self.data[view.slug] = view
Adds a view to the category
dataset/ETHPy150Open django-bmf/django-bmf/djangobmf/core/category.py/Category.add_view