old_contents: from collections import namedtuple
  from datetime import date
  
  
  ScheduleItem = namedtuple('ScheduleItem', ['start', 'end', 'slides'])
  slide_schedule = (
      # EX: ScheduleItem(date(2013, 4, 5), date(2013, 4, 22), ['slide-two.html', 'slide-three.html']),
      ScheduleItem(date(2013, 4, 9), date(2013, 4, 21), ['blogpost_judges.html', 'blogpost_makeyourflickawinner.html', 'blogpost_getcreative.html']),
      ScheduleItem(date(2013, 4, 22), date(2013, 4, 30), ['blogpost_baficiwinner.html', 'blogpost_schwartzberg.html', 'blogpost_makeyourflickawinner.html']),
      ScheduleItem(date(2013, 5, 1), date(2013, 5, 7), ['blogpost_shootingpeople.html', 'blogpost_baficiwinner.html', 'blogpost_makeyourflickawinner.html']),
      ScheduleItem(date(2013, 5, 8), date(2013, 5, 17), ['may29_earlyentry.html', 'blogpost_shootingpeople.html', 'blogpost_makeyourflickawinner.html']),
      ScheduleItem(date(2013, 5, 18), date(2013, 5, 29), ['may29_earlyentry.html', 'blogpost_getmobilized.html', 'blogpost_makeyourflickawinner.html']),
      ScheduleItem(date(2013, 5, 30), date(2013, 5, 31), ['blogpost_winbig.html', 'blogpost_getmobilized.html', 'blogpost_makeyourflickawinner.html']),
      ScheduleItem(date(2013, 6, 1), date(2013, 6, 11), ['july3_earlyentry.html', 'blogpost_getmobilized.html', 'july31_earlyentry.html']),
  )
  
  
  def get_slides(display_date=None):
      """
      Generate a list of the template paths to the slides that should be displayed
      on the homepage based on the given date.
  
      :param display_date:
          Date to use to determine which promos to display. Defaults to
          date.now().
      """
      display_date = display_date or date.today()
      return ('carousel/{0}'.format(name) for name in
              _get_slide_names(display_date))
  
  
  def _get_slide_names(display_date):
      for item in slide_schedule:
          if item.start <= display_date <= item.end:
              return item.slides
      return ['slide-two.html', 'slide-three.html']  # Default
  
new_contents: from collections import namedtuple
  from datetime import date
  
  
  ScheduleItem = namedtuple('ScheduleItem', ['start', 'end', 'slides'])
  slide_schedule = (
      # EX: ScheduleItem(date(2013, 4, 5), date(2013, 4, 22), ['slide-two.html', 'slide-three.html']),
      ScheduleItem(date(2013, 4, 9), date(2013, 4, 21), ['blogpost_judges.html', 'blogpost_makeyourflickawinner.html', 'blogpost_getcreative.html']),
      ScheduleItem(date(2013, 4, 22), date(2013, 4, 30), ['blogpost_baficiwinner.html', 'blogpost_schwartzberg.html', 'blogpost_makeyourflickawinner.html']),
      ScheduleItem(date(2013, 5, 1), date(2013, 5, 7), ['blogpost_shootingpeople.html', 'blogpost_baficiwinner.html', 'blogpost_makeyourflickawinner.html']),
      ScheduleItem(date(2013, 5, 8), date(2013, 5, 17), ['may29_earlyentry.html', 'blogpost_shootingpeople.html', 'blogpost_makeyourflickawinner.html']),
      ScheduleItem(date(2013, 5, 18), date(2013, 5, 29), ['may29_earlyentry.html', 'blogpost_getmobilized.html', 'blogpost_makeyourflickawinner.html']),
      ScheduleItem(date(2013, 5, 30), date(2013, 6, 11), ['blogpost_winbig.html', 'blogpost_getmobilized.html', 'blogpost_makeyourflickawinner.html']),
  )
  
  
  def get_slides(display_date=None):
      """
      Generate a list of the template paths to the slides that should be displayed
      on the homepage based on the given date.
  
      :param display_date:
          Date to use to determine which promos to display. Defaults to
          date.now().
      """
      display_date = display_date or date.today()
      return ('carousel/{0}'.format(name) for name in
              _get_slide_names(display_date))
  
  
  def _get_slide_names(display_date):
      for item in slide_schedule:
          if item.start <= display_date <= item.end:
              return item.slides
      return ['slide-two.html', 'slide-three.html']  # Default
  
subject: Fix Bug 854725 Removed 2 day rotation