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

Function display

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

Source from the content-addressed store, hash-verified

34
35@expose("/display/<uid>")
36def display(request, uid):
37 url = URL.query.get(uid)
38 if not url:
39 raise NotFound()
40 return render_template("display.html", url=url)
41
42
43@expose("/u/<uid>")

Callers

nothing calls this directly

Calls 3

NotFoundClass · 0.90
render_templateFunction · 0.70
getMethod · 0.45

Tested by

no test coverage detected