Lösning:När jag ändrade views.py till detta fungerade det:
@login_required
def room(request, room_name):
print('~~~DEBUG~~~')
return render(request, 'chat/room.html', {
'room_name': room_name
Lösning:När jag ändrade views.py till detta fungerade det:
@login_required
def room(request, room_name):
print('~~~DEBUG~~~')
return render(request, 'chat/room.html', {
'room_name': room_name