old_contents: from django.db import models
  from django.utils.translation import ugettext_lazy as _
  
  import datetime
  
  class ErrorBatch(models.Model):
      class_name      = models.CharField(_('Type'), max_length=128)
      message         = models.TextField()
      traceback       = models.TextField()
      times_seen      = models.PositiveIntegerField(default=1)
      last_seen       = models.DateTimeField(default=datetime.datetime.now)
      first_seen      = models.DateTimeField(default=datetime.datetime.now)
      url             = models.URLField(verify_exists=False, null=True, blank=True)
      server_name     = models.CharField(max_length=128, db_index=True)
      checksum        = models.CharField(max_length=32, db_index=True)
  
      class Meta:
          unique_together = (('class_name', 'server_name', 'checksum'),)
  
  class Error(models.Model):
      class_name      = models.CharField(_('type'), max_length=128)
      message         = models.TextField()
      traceback       = models.TextField()
      datetime        = models.DateTimeField(default=datetime.datetime.now)
      url             = models.URLField(verify_exists=False, null=True, blank=True)
      server_name     = models.CharField(max_length=128, db_index=True)
      
  
new_contents: from django.db import models
  from django.utils.translation import ugettext_lazy as _
  
  import datetime
  
  class ErrorBatch(models.Model):
      objects = models.Manager()
      class_name      = models.CharField(_('Type'), max_length=128)
      message         = models.TextField()
      traceback       = models.TextField()
      times_seen      = models.PositiveIntegerField(default=1)
      last_seen       = models.DateTimeField(default=datetime.datetime.now)
      first_seen      = models.DateTimeField(default=datetime.datetime.now)
      url             = models.URLField(verify_exists=False, null=True, blank=True)
      server_name     = models.CharField(max_length=128, db_index=True)
      checksum        = models.CharField(max_length=32, db_index=True)
  
      class Meta:
          unique_together = (('class_name', 'server_name', 'checksum'),)
  
  class Error(models.Model):
      objects = models.Manager()
      class_name      = models.CharField(_('type'), max_length=128)
      message         = models.TextField()
      traceback       = models.TextField()
      datetime        = models.DateTimeField(default=datetime.datetime.now)
      url             = models.URLField(verify_exists=False, null=True, blank=True)
      server_name     = models.CharField(max_length=128, db_index=True)
      
  
subject: fix the pylint "Class 'Position' has no 'objects' member" error, in crashlog models this time