'Returns the children documents for a given directory, excluding history documents'

def get_children_documents(self):

    documents = self.children.filter(is_history=False).filter(is_managed=False)
    return documents
