#NEWLINE# @ admin . route ( '/contacts/<name>' ) #NEWLINE# def contact_by_name( name ) : #NEWLINE# #INDENT# nick = Nick . query . filter_by ( name = name ) . first ( ) #NEWLINE# contact = ( nick and nick . contact ) #NEWLINE# if ( not contact ) : #NEWLINE# #INDENT# abort ( 404 ) #NEWLINE# #UNINDENT# return render_template ( 'admin/contact.jinja2' , contact = contact )