old_contents: from django.db import models
  
  
  class Setting(models.Model):
      name = models.CharField(max_length=40, unique=True)
      label = models.CharField(max_length=60)
      help_text = models.TextField()
      current_value = models.TextField(blank=True, null=True)
  
      class Meta:
          app_label = 'setmagic'
  
      def __str__(self):
          return u'{name} ({label})'.format(
              name=self.name,
              label=self.label,
          )
  
new_contents: from django.db import models
  from django.utils.encoding import python_2_unicode_compatible
  
  
  @python_2_unicode_compatible
  class Setting(models.Model):
      name = models.CharField(max_length=40, unique=True)
      label = models.CharField(max_length=60)
      help_text = models.TextField()
      current_value = models.TextField(blank=True, null=True)
  
      class Meta:
          app_label = 'setmagic'
  
      def __str__(self):
          return u'{name} ({label})'.format(
              name=self.name,
              label=self.label,
          )
  
subject: Add model unicode support for Python 2