          u.save(using=self._db)
          return u
  
  
  @python_2_unicode_compatible
  class CustomUser(AbstractBaseUser):
      email = models.EmailField(verbose_name='email address', max_length=255, unique=True)
      is_active = models.BooleanField(default=True)
      is_admin = models.BooleanField(default=False)
      date_of_birth = models.DateField()
 
</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 
          u.save(using=self._db)
          return u
  
  

  class CustomUser(AbstractBaseUser):
      email = models.EmailField(verbose_name='email address', max_length=255, unique=True)
      is_active = models.BooleanField(default=True)
      is_admin = models.BooleanField(default=False)
      date_of_birth = models.DateField()
keep keep keep keep replace keep keep keep keep keep
 Refs #23919 -- Removed python_2_unicode_compatible decorator usage 
tests/auth_tests/models/custom_user.py