change .gitignore

This commit is contained in:
cuom1999 2020-03-15 20:23:14 -06:00
parent 25325b4fd9
commit ed5c7bd379
5 changed files with 149 additions and 6 deletions

View file

@ -1,7 +1,11 @@
from django.shortcuts import render
from django.utils.translation import gettext as _
from django.views import View
from django.views.generic import ListView
from .models import Message
class ChatView(View):
template_name = 'chat.html'
class ChatView(ListView):
model = Message
title = _('Chat Box')
template_name = 'chat/chat.html'