def register_view(self, path, name=None, urlname=None, visible=True,
                      view=None):
        def decorator(fn):
            if is_class_based_view(fn):
                fn = fn.as_view()
            self.custom_views.append((path, fn, name, urlname, visible))
            return fn
        if view is not None:
            decorator(view)
            return
        return decorator
Returns whether a given object is droppable on the node.
dataset/ETHPy150Open jsocol/django-adminplus/adminplus/sites.py/AdminPlusMixin.register_view--crossover with--dataset/ETHPy150Open enthought/mayavi/mayavi/core/source.py/Source.tno_can_add