From 4981fcda97108726389c67fef8149d121fba1ee7 Mon Sep 17 00:00:00 2001 From: johnthagen Date: Sat, 12 Mar 2022 16:01:02 -0500 Subject: [PATCH] Fix formatting of type annotation in tutorial --- docs/tutorial/part_2.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/tutorial/part_2.rst b/docs/tutorial/part_2.rst index 1f44328..dc821c1 100644 --- a/docs/tutorial/part_2.rst +++ b/docs/tutorial/part_2.rst @@ -54,7 +54,7 @@ We will edit the ``views.py`` return render(request, 'chat/index.html') def room(request, pk): - room:Room = get_object_or_404(Room, pk=pk) + room: Room = get_object_or_404(Room, pk=pk) return render(request, 'chat/room.html', { "room":room, })