from falmer.content.models.core import ClickThrough
from .staff import StaffPage, StaffMemberSnippet
from .section_content import SectionContentPage
from .selection_grid import SelectionGridPage
from .officer_overview import OfficerOverviewPage
from .homepage import HomePage
from .freshers import FreshersHomepage
from .generic import KBRootPage, KBCategoryPage, AnswerPage, ReferencePage, DetailedGuidePage, DetailedGuideSectionPage
from .basic import StubPage, BasicContentPage
from .outlets import OutletIndexPage, OutletPage
from .scheme import SchemeIndexPage, SchemePage


all_pages = (
    StaffPage,
    StaffMemberSnippet,

    SectionContentPage,

    SelectionGridPage,

    OfficerOverviewPage,

    HomePage,

    KBRootPage,
    KBCategoryPage,
    AnswerPage,
    ReferencePage,
    DetailedGuidePage,
    DetailedGuideSectionPage,

    StubPage,
    BasicContentPage,

    OutletIndexPage,
    OutletPage,

    SchemeIndexPage,
    SchemePage,

    FreshersHomepage,

    ClickThrough,
)


name_to_class_map = {cls.__name__: cls for cls in all_pages}

from falmer.content.models.core import ClickThrough
from .staff import StaffPage, StaffMemberSnippet
from .section_content import SectionContentPage
from .selection_grid import SelectionGridPage
from .officer_overview import OfficerOverviewPage, OfficersIndex
from .homepage import HomePage
from .freshers import FreshersHomepage
from .generic import KBRootPage, KBCategoryPage, AnswerPage, ReferencePage, DetailedGuidePage, DetailedGuideSectionPage
from .basic import StubPage, BasicContentPage
from .outlets import OutletIndexPage, OutletPage
from .scheme import SchemeIndexPage, SchemePage


all_pages = (
    StaffPage,
    StaffMemberSnippet,

    SectionContentPage,

    SelectionGridPage,

    OfficerOverviewPage,
    OfficersIndex,

    HomePage,

    KBRootPage,
    KBCategoryPage,
    AnswerPage,
    ReferencePage,
    DetailedGuidePage,
    DetailedGuideSectionPage,

    StubPage,
    BasicContentPage,

    OutletIndexPage,
    OutletPage,

    SchemeIndexPage,
    SchemePage,

    FreshersHomepage,

    ClickThrough,
)


name_to_class_map = {cls.__name__: cls for cls in all_pages}

Add officers index to contentmap
Add officers index to contentmap

  from falmer.content.models.core import ClickThrough
  from .staff import StaffPage, StaffMemberSnippet
  from .section_content import SectionContentPage
  from .selection_grid import SelectionGridPage
- from .officer_overview import OfficerOverviewPage
+ from .officer_overview import OfficerOverviewPage, OfficersIndex
  from .homepage import HomePage
  from .freshers import FreshersHomepage
  from .generic import KBRootPage, KBCategoryPage, AnswerPage, ReferencePage, DetailedGuidePage, DetailedGuideSectionPage
  from .basic import StubPage, BasicContentPage
  from .outlets import OutletIndexPage, OutletPage
  from .scheme import SchemeIndexPage, SchemePage
  
  
  all_pages = (
      StaffPage,
      StaffMemberSnippet,
  
      SectionContentPage,
  
      SelectionGridPage,
  
      OfficerOverviewPage,
+     OfficersIndex,
  
      HomePage,
  
      KBRootPage,
      KBCategoryPage,
      AnswerPage,
      ReferencePage,
      DetailedGuidePage,
      DetailedGuideSectionPage,
  
      StubPage,
      BasicContentPage,
  
      OutletIndexPage,
      OutletPage,
  
      SchemeIndexPage,
      SchemePage,
  
      FreshersHomepage,
  
      ClickThrough,
  )
  
  
  name_to_class_map = {cls.__name__: cls for cls in all_pages}
  
Add officers index to contentmap
## Code Before:
from falmer.content.models.core import ClickThrough
from .staff import StaffPage, StaffMemberSnippet
from .section_content import SectionContentPage
from .selection_grid import SelectionGridPage
from .officer_overview import OfficerOverviewPage
from .homepage import HomePage
from .freshers import FreshersHomepage
from .generic import KBRootPage, KBCategoryPage, AnswerPage, ReferencePage, DetailedGuidePage, DetailedGuideSectionPage
from .basic import StubPage, BasicContentPage
from .outlets import OutletIndexPage, OutletPage
from .scheme import SchemeIndexPage, SchemePage


all_pages = (
    StaffPage,
    StaffMemberSnippet,

    SectionContentPage,

    SelectionGridPage,

    OfficerOverviewPage,

    HomePage,

    KBRootPage,
    KBCategoryPage,
    AnswerPage,
    ReferencePage,
    DetailedGuidePage,
    DetailedGuideSectionPage,

    StubPage,
    BasicContentPage,

    OutletIndexPage,
    OutletPage,

    SchemeIndexPage,
    SchemePage,

    FreshersHomepage,

    ClickThrough,
)


name_to_class_map = {cls.__name__: cls for cls in all_pages}

## Instruction:
Add officers index to contentmap
## Code After:
from falmer.content.models.core import ClickThrough
from .staff import StaffPage, StaffMemberSnippet
from .section_content import SectionContentPage
from .selection_grid import SelectionGridPage
from .officer_overview import OfficerOverviewPage, OfficersIndex
from .homepage import HomePage
from .freshers import FreshersHomepage
from .generic import KBRootPage, KBCategoryPage, AnswerPage, ReferencePage, DetailedGuidePage, DetailedGuideSectionPage
from .basic import StubPage, BasicContentPage
from .outlets import OutletIndexPage, OutletPage
from .scheme import SchemeIndexPage, SchemePage


all_pages = (
    StaffPage,
    StaffMemberSnippet,

    SectionContentPage,

    SelectionGridPage,

    OfficerOverviewPage,
    OfficersIndex,

    HomePage,

    KBRootPage,
    KBCategoryPage,
    AnswerPage,
    ReferencePage,
    DetailedGuidePage,
    DetailedGuideSectionPage,

    StubPage,
    BasicContentPage,

    OutletIndexPage,
    OutletPage,

    SchemeIndexPage,
    SchemePage,

    FreshersHomepage,

    ClickThrough,
)


name_to_class_map = {cls.__name__: cls for cls in all_pages}
