#NEWLINE# def render_GET( self , request ) : #NEWLINE# #INDENT# if ( 'tablename' in request . args ) : #NEWLINE# #INDENT# sql = 'desc {};' . format ( request . args [ 'tablename' ] [ 0 ] . replace ( ' ' , '' ) ) #NEWLINE# name_map = { #NEWLINE# #INDENT# 'column_name' : 'Column Name' , #NEWLINE# 'column_type' : 'Column Type' , #NEWLINE# #UNINDENT# } #NEWLINE# return self . render_page_with_sql ( 'desc' , sql , request , context = { #NEWLINE# #INDENT# 'pretty_column_names_map' : name_map , #NEWLINE# #UNINDENT# } ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# return self . render_page ( 'desc' , request )