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

Function display

examples/couchy/views.py:40–44  ·  view source on GitHub ↗
(request, uid)

Source from the content-addressed store, hash-verified

38
39@expose("/display/<uid>")
40def display(request, uid):
41 url = URL.load(uid)
42 if not url:
43 raise NotFound()
44 return render_template("display.html", url=url)
45
46
47@expose("/u/<uid>")

Callers

nothing calls this directly

Calls 3

NotFoundClass · 0.90
loadMethod · 0.80
render_templateFunction · 0.70

Tested by

no test coverage detected