code: def lastOfferedMonth(self):
          '''
          Sometimes a Series is associated with a month other than the one
          in which the first class begins, so this returns a (year,month) tuple
          that can be used in admin instead.
          '''
          lastOfferedSeries = self.event_set.order_by('-startTime').first()
          return (lastOfferedSeries.year,lastOfferedSeries.monthf lastOfferedMonth(self):
          '''
          Sometimes a Series is associated with a month other than the one
          in which the first class begins, so this returns a (year,month) tuple
          that can be used in admin instead.
          '''
          lastOfferedSeries = self.event_set.order_by('-startTime').first()
          return (lastOfferedSeries.year,lastOfferedSeries.month)
docs: Sometimes a Series is associated with a month other than the one
          in which the first class begins, so this returns a (year,month) tuple
          that can be used in admin instead.