web/contentment/taxonomy.py
def siblings(self):
		"""All siblings of the currently selected assets, not including these assets."""
		
		query = []
		
		for id, parent in self.clone().scalar('id', 'parent'):#.no_dereference():
			query.append(Q(parent=parent, id__ne=id))
		
		if not query:  # TODO: Armour everywhere.
			return None
		
		return self.base_query(reduce(__or__, query)).order_by('parent', 'order')
All siblings of the currently selected assets, not including these assets.
All siblings of the currently selected assets, not including these assets.
All siblings of the currently selected assets not including these assets .
def siblings(self):
		query = []
		for id, parent in self.clone().scalar('id', 'parent'):
			query.append(Q(parent=parent, id__ne=id))
		if not query:  
			return None
		return self.base_query(reduce(__or__, query)).order_by('parent', 'order')
def siblings ( self ) : query = [ ] for id , parent in self . clone ( ) . scalar ( 'id' , 'parent' ) : query . append ( Q ( parent = parent , id__ne = id ) ) if not query : return None return self . base_query ( reduce ( __or__ , query ) ) . order_by ( 'parent' , 'order' )
All siblings of the currently selected assets, not including these assets.
All siblings of the currently selected assets not including these assets .
"""All siblings of the currently selected assets, not including these assets.""" #.no_dereference(): # TODO: Armour everywhere.
self