#NEWLINE# def handle_not_found( self , request , resolver , exception ) : #NEWLINE# #INDENT# "\n        Logs a 404 warning and invokes either the debug handler or the\n        resolver's 404 handler.\n        \n        " #NEWLINE# logger . warning ( 'Not Found: {path:s}' . format ( path = request . path ) , extra = { #NEWLINE# #INDENT# 'status_code' : 404 , #NEWLINE# 'request' : request , #NEWLINE# #UNINDENT# } ) #NEWLINE# if settings . DEBUG : #NEWLINE# #INDENT# return debug . technical_404_response ( request , exception ) #NEWLINE# #UNINDENT# ( callback , kwargs ) = resolver . resolve404 ( ) #NEWLINE# return callback ( request , ** kwargs )