cms/apps/pages/models.py
def _excise_branch(self):
        '''Excises this whole branch from the tree.'''
        branch_width = self._branch_width
        Page.objects.filter(left__gte=self.left).update(
            left=F('left') - branch_width,
        )
        Page.objects.filter(right__gte=self.left).update(
            right=F('right') - branch_width,
        )
Excises this whole branch from the tree.
Excises this whole branch from the tree.
Excises this whole branch from the tree .
def _excise_branch(self):
        branch_width = self._branch_width
        Page.objects.filter(left__gte=self.left).update(
            left=F('left') - branch_width,
        )
        Page.objects.filter(right__gte=self.left).update(
            right=F('right') - branch_width,
        )
def _excise_branch ( self ) : branch_width = self . _branch_width Page . objects . filter ( left__gte = self . left ) . update ( left = F ( 'left' ) - branch_width , ) Page . objects . filter ( right__gte = self . left ) . update ( right = F ( 'right' ) - branch_width , )
Excises this whole branch from the tree.
Excises this whole branch from the tree .
'''Excises this whole branch from the tree.'''
self