|
from django.shortcuts import render
|
|
|
|
from jci.models import Section
|
|
|
|
|
|
def jci_list(request):
|
|
sections = Section.objects.prefetch_related('headlines').prefetch_related('headlines__standards')
|
|
return render(request, 'jci/list.html', {'sections': sections})
|