#NEWLINE# def list_doc_db( pname ) : #NEWLINE# #INDENT# docs = [ ] #NEWLINE# for doc in Document . objects . filter ( project_release__project__dir_name = docs ) : #NEWLINE# #INDENT# docs . append ( '{0}: {1} ({2})' . format ( doc . pk , doc . title , doc . url ) ) #NEWLINE# #UNINDENT# return docs