Files
Website/chat/views.py
2021-02-07 02:36:34 +01:00

13 lines
284 B
Python

from django.shortcuts import render
# Create your views here.
def index(request):
context = dict(title="chat")
return render(request, "chat/index.html", context=context)
def room(request, room_name):
return render(request, "chat/room.html", {"room_name": room_name})