Skip to content

Commit

Permalink
Merge pull request #123 from johnthagen/patch-2
Browse files Browse the repository at this point in the history
Fix formatting of type annotation in tutorial
  • Loading branch information
hishnash authored Mar 14, 2022
2 parents a8ac016 + 4981fcd commit fe0a67f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/tutorial/part_2.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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,
})
Expand Down

0 comments on commit fe0a67f

Please sign in to comment.