biweeklybudget.flaskapp.cli_commands module

class biweeklybudget.flaskapp.cli_commands.CustomLoggingWSGIRequestHandler(request, client_address, server)[source]

Bases: werkzeug.serving.WSGIRequestHandler

Extend werkzeug request handler to include processing time in logs


Handles a request ignoring dropped connections.

log_request(code='-', size='-')[source]

Log an accepted request.

This is called by send_response().

send_response(*args, **kw)[source]

Send the response header and log the response code.


Return a list of all Flask app template paths, to auto-reload on change.


Returns:list of all template paths
Return type:list