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