from django.shortcuts import render

def index(request):
    return render(request, 'index.html', {'text': 'Welcome to my chat'})

def room (request, room_name):
    
    return render(request, 'chatroom.html', {
        'room_name': room_name,
    })