substitute the result for the value under the 'year' key of the html dictionary. call the function six.iteritems with an argument self.months, convert the result to a list and substitute it for choices.
choices = list ( six . iteritems ( self . months ) )