from .models import * def get_sections(): sections = Section.objects.filter(enable=True) return sections