MCPcopy Create free account
hub / github.com/vercel/examples / note_detail

Function note_detail

python/django-notes/notes/views.py:27–29  ·  view source on GitHub ↗
(request, pk)

Source from the content-addressed store, hash-verified

25
26
27def note_detail(request, pk):
28 note = get_object_or_404(Note, pk=pk)
29 return render(request, "notes/detail.html", {"note": note})
30
31
32def note_edit(request, pk):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected