      def __str__(self):
          return str(self.id)
  
  
  @python_2_unicode_compatible
  class ObjectReference(models.Model):
      obj = models.ForeignKey(Object, models.CASCADE, db_constraint=False)
  
      def __str__(self):
          return str(self.obj_id)
 
</s> remove @python_2_unicode_compatible
 </s> add  </s> remove @python_2_unicode_compatible
 </s> add  </s> remove @python_2_unicode_compatible
 </s> add  </s> remove @python_2_unicode_compatible
 </s> add  </s> remove @python_2_unicode_compatible
 </s> add 
      def __str__(self):
          return str(self.id)
  
  

  class ObjectReference(models.Model):
      obj = models.ForeignKey(Object, models.CASCADE, db_constraint=False)
  
      def __str__(self):
          return str(self.obj_id)
keep keep keep keep replace keep keep keep keep keep
 Refs #23919 -- Removed python_2_unicode_compatible decorator usage 
tests/backends/models.py