#NEWLINE# @ reminders_framework_permission #NEWLINE# @ toggles . SMS_PERFORMANCE_FEEDBACK . required_decorator ( ) #NEWLINE# @ require_POST #NEWLINE# def delete_performance_config( request , domain , config_id ) : #NEWLINE# #INDENT# config = get_document_or_404 ( PerformanceConfiguration , domain , config ) #NEWLINE# config . delete ( ) #NEWLINE# messages . success ( request , _ ( 'Performance Message deleted!' ) ) #NEWLINE# return HttpResponseRedirect ( reverse ( 'performance_sms.list_performance_configs' , args = [ domain ] ) )