  from django.utils.encoding import python_2_unicode_compatible
  from django.utils.translation import ugettext_lazy as _
  
  
  @python_2_unicode_compatible
  class Redirect(models.Model):
      site = models.ForeignKey(Site, models.CASCADE, verbose_name=_('site'))
      old_path = models.CharField(
          _('redirect from'),
          max_length=200,
 
</s> remove from django.utils.encoding import 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  </s> remove @python_2_unicode_compatible
 </s> add  </s> remove @python_2_unicode_compatible
 </s> add 
  from django.utils.encoding import python_2_unicode_compatible
  from django.utils.translation import ugettext_lazy as _
  
  

  class Redirect(models.Model):
      site = models.ForeignKey(Site, models.CASCADE, verbose_name=_('site'))
      old_path = models.CharField(
          _('redirect from'),
          max_length=200,
keep keep keep keep replace keep keep keep keep keep
 Refs #23919 -- Removed python_2_unicode_compatible decorator usage 
django/contrib/redirects/models.py