#NEWLINE# @ view_config ( route_name = 'admin_badge' , request_method = 'POST' , request_param = 'remove' , renderer = 'h:templates/admin/badge.html.jinja2' , permission = 'admin_badge' ) #NEWLINE# def badge_remove( request ) : #NEWLINE# #INDENT# uri = request . params [ 'remove' ] #NEWLINE# request . db . delete ( models . Blocklist . get_by_uri ( uri ) ) #NEWLINE# return badge_index ( request )