def AccessDenied(message):
 response = shortcuts.render_to_response('404.html', {'message': message})
 logging.warn(message)
 response.status_code = 403
 stats.STATS.IncrementCounter('http_access_denied')
 return response

def AccessDenied ( message ) : response = shortcuts . render_to_response ( '404.html' , { 'message' : message } ) logging . warn ( message ) response . status_code = 403 stats . STATS . IncrementCounter ( 'http_access_denied' ) return response
return an access denied response object .