diff --git a/.gitignore b/.gitignore index d407208..b32a787 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,7 @@ .idea/ .venv/ .media/ +*/__pycache__/ +*/*.pyc */migrations NewMediaMonitoring/local_settings.py diff --git a/dashboard/models.py b/dashboard/models.py index c296895..5dd178d 100644 --- a/dashboard/models.py +++ b/dashboard/models.py @@ -708,11 +708,11 @@ class TimelinessMonitoring(models.Model): counties = models.CharField('县区',max_length=256,null=True,blank=True) remark = models.CharField('备注',max_length=256,null=True,blank=True) results = models.CharField('监测结果',max_length=256,null=True,blank=True) - update = models.IntegerField('更新次数',max_length=256,null=True,blank=True) - silet = models.IntegerField('最大连续静默日数',max_length=256,null= True,blank=True) + update = models.CharField('更新次数',max_length=256,null=True,blank=True) + silet = models.CharField('最大连续静默日数',max_length=256,null= True,blank=True) start_data = models.CharField('开始时间',max_length=256,null=True,blank=True) end_data = models.CharField('结束时间',max_length=256,null=True,blank=True) - comment = models.IntegerField('评论次数',max_length=256,null=True,blank=True) + comment = models.CharField('评论次数',max_length=256,null=True,blank=True) date = models.CharField('最近更新时间',max_length=256,null=True,blank=True) def __str__(self):