<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def room(request, slug, template="room.html"):
 """ Show a room. """

    context = {"room": get_object_or_404(ChatRoom, slug=slug)}
    return render(request, template, context)