MCPcopy
hub / github.com/pallets/werkzeug / on_log

Function on_log

examples/simplewiki/actions.py:80–85  ·  view source on GitHub ↗

Show the list of recent changes.

(request, page_name)

Source from the content-addressed store, hash-verified

78
79
80def on_log(request, page_name):
81 """Show the list of recent changes."""
82 page = Page.query.filter_by(name=page_name).first()
83 if page is None:
84 return page_missing(request, page_name, False)
85 return Response(generate_template("action_log.html", page=page))
86
87
88def on_diff(request, page_name):

Callers

nothing calls this directly

Calls 3

page_missingFunction · 0.85
generate_templateFunction · 0.85
ResponseClass · 0.70

Tested by

no test coverage detected