文章大纲
Tutorial Part 2: Implement a Chat Server
This tutorial begins where :doc:Tutorial 1 </tutorial/part_1>
left off.
We’ll get the room page working so that you can chat with yourself and others
in the same room.
Add the room view
We will now create the second view, a room view that lets you see messages
posted in a particular chat room.
Create a new file chat/templates/chat/room.html
.
Your app directory should now look like:
… code-block:: text
chat/
__init__.py
templates/
chat/
index.html
room.html
urls.py
views.py
</