NC
Size: a a a
NC
DT
MT
tn
K
АК
BK
class HallList(ListView):
model = Hall
template_name = 'index.html'
def get_context_data(self, *, object_list=None, **kwargs):
context = super(HallList, self).get_context_data(**kwargs)
context['halls'] = Hall.objects.all()
return context
tn
NC
tn
tn
AD
class HallList(ListView):
model = Hall
template_name = 'index.html'
def get_context_data(self, *, object_list=None, **kwargs):
context = super(HallList, self).get_context_data(**kwargs)
context['halls'] = Hall.objects.all()
return context
NC
tn
NC
D
D
D
K