

def as_view(self, *args, **kwargs):
    if ('extra_permission' not in kwargs):
        kwargs['extra_permission'] = self.permission
    return self.site.as_view(*args, **kwargs)

dataset/ETHPy150Open disqus/nexus/nexus/modules.py NexusModule.as_view/original