old_contents: from django.db import models
  
  # Create your models here.
  
new_contents: from django.db import models
  
  class Dashboard_status(models.Model):
      class Meta:
          db_table = "dashboard_status"
      up = models.IntegerField(null=True, blank=True)
      down = models.IntegerField(null=True, blank=True)
      accepted = models.IntegerField(null=True, blank=True)
      unaccepted = models.IntegerField(null=True, blank=True)
      rejected = models.IntegerField(null=True, blank=True)
  
      def __unicode__(self):
          return u'%s %s %s %s %s' % (self.up, self.down, self.accepted, self.unaccepted, self.rejected)
  
  '''
  class Dashboard_os(models.Model):
      class Meta:
          db_table = "dashboard_os"
      release = models.CharField(max_length=32, null=True, blank=True)
      count = models.IntegerField(null=True, blank=True)
  
      def __unicode__(self):
          return u'%s %s' % (self.release, self.count)
  '''
subject: 添加dashboard_status 表