def section_navigation(self, label, version):
    nav_sections = navigation.nav_sections(label, version)
    if nav_sections:
        (p_sect, n_sect) = nav_sections
        nav = {'previous': p_sect, 'next': n_sect}
        return nav
def section_navigation(self, label, version):
    nav_sections = navigation.nav_sections(label, version)
    if nav_sections:
        (p_sect, n_sect) = nav_sections
        nav = {'previous': p_sect, 'next': n_sect}
        return nav