<s> from django . shortcuts import render <EOL> from django . contrib . auth . decorators import login_required <EOL> from . models import Room <EOL> @ login_required <EOL> def index ( request ) : <EOL> """<STR_LIT>""" <EOL> rooms = Room . objects . order_by ( "<STR_LIT:title>" ) <EOL> return render ( request , "<STR_LIT>" , { <EOL> "<STR_LIT>" : rooms , <EOL> } ) </s>
