def METHOD_NAME(request, room_number):
    sections = Section.objects.filter(room=room_number).order_by("period")
    if not sections.exists():
        raise Http404
    context = {"room_number": room_number, "classes": sections}
    return render(request, "users/class_room.html", context)