add chat model
This commit is contained in:
parent
4c9f1e1508
commit
25325b4fd9
5 changed files with 79 additions and 11 deletions
|
@ -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'
|
Loading…
Add table
Add a link
Reference in a new issue