Django Valueerror: No Route Found For Path 'ws/chat//'
I'm working on making a simple chat app using this tutorial from youtube (github link here: LINK). One potential issue is that the tutorial uses 2.x version of django but i have 3.
Solution 1:
Answer : When i changed views.py to this, it worked:
@login_required
def room(request, room_name):
print('~~~DEBUG~~~')
return render(request, 'chat/room.html', {
'room_name': room_name
Post a Comment for "Django Valueerror: No Route Found For Path 'ws/chat//'"