      def __str__(self):
          return "device '%s' in building %s" % (self.name, self.building)
  
  
  @python_2_unicode_compatible
  class Port(models.Model):
      device = models.ForeignKey('Device', models.CASCADE)
      port_number = models.CharField(max_length=10)
  
      def __str__(self):
 
</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 "device '%s' in building %s" % (self.name, self.building)
  
  

  class Port(models.Model):
      device = models.ForeignKey('Device', models.CASCADE)
      port_number = models.CharField(max_length=10)
  
      def __str__(self):
keep keep keep keep replace keep keep keep keep keep
 Refs #23919 -- Removed python_2_unicode_compatible decorator usage 
tests/select_related_regress/models.py