old_contents: from django.db import models
  from django.utils.translation import ugettext_lazy as _
  
  class Error(models.Model):
      """
      Model for storing the individual errors.
      """
      kind = models.CharField(_('type'),
          null=True, blank=True, max_length=128, db_index=True
      )
      info = models.TextField(
          null=False,
      )
      data = models.TextField(
          blank=True, null=True
      )
      path = models.URLField(
          null=True, blank=True, verify_exists=False,
      )
      when = models.DateTimeField(
          null=False, auto_now_add=True, db_index=True,
      )
      html = models.TextField(
          null=True, blank=True,
      )
      modified = models.DateTimeField(auto_now=True)
  
      class Meta:
          """
          Meta information for the model.
          """
          verbose_name = _('Error')
          verbose_name_plural = _('Errors')
  
      def __unicode__(self):
          """
          String representation of the object.
          """
          return "%s: %s" % (self.kind, self.info)
  
new_contents: from django.db import models
  from django.utils.translation import ugettext_lazy as _
  
  class Error(models.Model):
      """
      Model for storing the individual errors.
      """
      kind = models.CharField(_('type'),
          null=True, blank=True, max_length=128, db_index=True
      )
      info = models.TextField(
          null=False,
      )
      data = models.TextField(
          blank=True, null=True
      )
      path = models.URLField(
          null=True, blank=True,
      )
      when = models.DateTimeField(
          null=False, auto_now_add=True, db_index=True,
      )
      html = models.TextField(
          null=True, blank=True,
      )
      modified = models.DateTimeField(auto_now=True)
  
      class Meta:
          """
          Meta information for the model.
          """
          verbose_name = _('Error')
          verbose_name_plural = _('Errors')
  
      def __unicode__(self):
          """
          String representation of the object.
          """
          return "%s: %s" % (self.kind, self.info)
  
subject: Remove verify_exists kwarg, which was deprecated in django 1.3 and causes an error in django 1.5