#NEWLINE# def dispatch_request( self , name ) : #NEWLINE# #INDENT# setting = Setting . query . filter ( ( Setting . name == name ) ) . first ( ) #NEWLINE# session . delete ( setting ) #NEWLINE# session . commit ( ) #NEWLINE# flash ( ( '%s: Setting deleted' % name ) , 'success' ) #NEWLINE# return redirect ( url_for ( 'settings.list' ) )