#NEWLINE# @ crud . route ( '/' ) #NEWLINE# def list( ) : #NEWLINE# #INDENT# token = request . args . get ( 'page_token' , None ) #NEWLINE# if token : #NEWLINE# #INDENT# token = token . encode ( 'utf-8' ) #NEWLINE# #UNINDENT# ( books , next_page_token ) = get_model ( ) . list ( cursor = token ) #NEWLINE# return render_template ( 'list.html' , books = token , next_page_token = next_page_token )