      def __str__(self):
          return self.tag
  
  
  @python_2_unicode_compatible
  class Bookmark(models.Model):
      """
      A URL bookmark that may have multiple tags attached.
      """
      url = models.URLField()
 
</s> remove @python_2_unicode_compatible
 </s> add  </s> remove class ErrorDetail(six.text_type):
 </s> add class ErrorDetail(str): </s> remove class Hyperlink(six.text_type):
 </s> add class Hyperlink(str): </s> remove         @python_2_unicode_compatible
        class MockLazyStr(object):
 </s> add         class MockLazyStr: </s> remove @python_2_unicode_compatible
 </s> add 
      def __str__(self):
          return self.tag
  
  

  class Bookmark(models.Model):
      """
      A URL bookmark that may have multiple tags attached.
      """
      url = models.URLField()
keep keep keep keep replace keep keep keep keep keep
 Dropped Python 2 compatibility. (#6615)

Thanks to Jon Dufresne (@jdufresne) for review.

Co-authored-by: Asif Saif Uddin <auvipy@gmail.com>
Co-authored-by: Rizwan Mansuri <Rizwan@webbyfox.com> 
tests/generic_relations/models.py