  from django.contrib.gis.db import models
  from django.utils.encoding import python_2_unicode_compatible
  
  
  @python_2_unicode_compatible
  class NamedModel(models.Model):
      name = models.CharField(max_length=25)
  
      class Meta:
          abstract = True
 
</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 from django.utils.encoding import python_2_unicode_compatible
 </s> add 
  from django.contrib.gis.db import models
  from django.utils.encoding import python_2_unicode_compatible
  
  

  class NamedModel(models.Model):
      name = models.CharField(max_length=25)
  
      class Meta:
          abstract = True
keep keep keep keep replace keep keep keep keep keep
 Refs #23919 -- Removed python_2_unicode_compatible decorator usage 
tests/gis_tests/layermap/models.py