def dispatch(self, request, *args, **kwargs):
        return (
            self.get_allow_handler() or
            super(Allow, self).dispatch)(
                request, *args, **kwargs)
Call the allow handler or defer to super().
dataset/ETHPy150Open skibblenybbles/django-daydreamer/daydreamer/views/core/base.py/Allow.dispatch