

def has_permission(self):
    '\n            Override this method to customize the way permissions are checked.\n            '
    perms = self.get_permission_required()
    return self.request.user.has_perms(perms)

dataset/ETHPy150Open pinax/pinax-likes/pinax/likes/compat.py PermissionRequiredMixin.has_permission/original