From 53d832d92258d63f4d5e4b13d3e339bdec8cd9cc Mon Sep 17 00:00:00 2001 From: Bob <1397910458@qq.com> Date: Sun, 25 Oct 2020 20:33:21 +0800 Subject: [PATCH] =?UTF-8?q?#=E6=9B=B4=E6=94=B9=E6=95=B0=E6=8D=AE=E5=BA=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 2 ++ dashboard/models.py | 6 +++--- 2 files changed, 5 insertions(+), 3 deletions(-) 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):