File size: 226 Bytes
75df934
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
# chat/views.py
from django.shortcuts import render


def index(request):
    return render(request, "index.html")


def room(request, room_name):
    return render(request, "chat/room.html", {"room_name": room_name})