add chat model

This commit is contained in:
Dinh 2020-01-28 14:12:17 -06:00
parent 4c9f1e1508
commit 25325b4fd9
5 changed files with 79 additions and 11 deletions

View file

@ -1,8 +1,7 @@
from django.shortcuts import render
from django.utils.translation import gettext as _
from django.views import View
def chat(request):
return render(request, 'chat/chat.html', {
'title': _('Chat Box'),
})
class ChatView(View):
template_name = 'chat.html'