          return week_number
  
      def y(self):
          "Year, 2 digits; e.g. '99'"
          return six.text_type(self.data.year)[2:]
  
      def Y(self):
          "Year, 4 digits; e.g. '1999'"
          return self.data.year
  
 
</s> remove     if isinstance(path, six.string_types):
 </s> add     if isinstance(path, str): </s> remove         self.assertEqual("<Page 2 of 2>", six.text_type(p))
 </s> add         self.assertEqual("<Page 2 of 2>", str(p)) </s> remove         return six.text_type(value.title)
 </s> add         return str(value.title) </s> remove         lazy_str = lazy(lambda string: force_text(string), six.text_type)
 </s> add         lazy_str = lazy(lambda string: force_text(string), str) </s> remove         return six.text_type(self)
 </s> add         return str(self)
        return str(self.data.year)[2:]
          return week_number
  
      def y(self):
          "Year, 2 digits; e.g. '99'"
        return str(self.data.year)[2:]
  
      def Y(self):
          "Year, 4 digits; e.g. '1999'"
          return self.data.year
  
keep keep keep keep replace keep keep keep keep keep
 Refs #23919 -- Removed six.<various>_types usage

Thanks Tim Graham and Simon Charette for the reviews. 
django/utils/dateformat.py