#NEWLINE# def post( self , * args , **kwargs ) : #NEWLINE# #INDENT# AccountDeletion . mark ( self . request . user ) #NEWLINE# auth . logout ( self . request ) #NEWLINE# messages . add_message ( kwargs . request , self . messages [ 'account_deleted' ] [ 'level' ] , self . messages [ 'account_deleted' ] [ 'text' ] . format ( ** { #NEWLINE# #INDENT# 'expunge_hours' : settings . ACCOUNT_DELETION_EXPUNGE_HOURS , #NEWLINE# #UNINDENT# } ) ) #NEWLINE# return redirect ( self . get_redirect_url ( ) )