#NEWLINE# @ app . route ( '/<container>/<doc>' ) #NEWLINE# @ ScopedNamedDocument . is_url_for ( 'view' , container = 'parent.id' , doc = 'name' ) #NEWLINE# def sdoc_view( container , doc ) : #NEWLINE# #INDENT# return '{} {} {}' . format ( 'view' , doc , doc )