diff --git a/polls/models.py b/polls/models.py index c8d426f..bd73def 100644 --- a/polls/models.py +++ b/polls/models.py @@ -128,7 +128,7 @@ class TaskAddition(models.Model): task = models.ForeignKey(Task, on_delete=models.CASCADE) category = models.IntegerField( 'category', choices=TASK_ADDITION_TYPE_CHOICES, default=1) - url = models.CharField('url', max_length=256, null=True, blank=True) + url = models.CharField('url', max_length=512, null=True, blank=True) file = models.FileField( upload_to='task/file/%Y/%m/%d/', null=True, blank=True) picture = models.ImageField( @@ -172,12 +172,12 @@ class Message(models.Model): content = models.TextField('内容', null=True, blank=True) # url page_title = models.CharField( - 'page_title', max_length=256, null=True, blank=True) + 'page_title', max_length=512, null=True, blank=True) page_description = models.CharField( - 'page_description', max_length=512, null=True, blank=True) + 'page_description', max_length=1024, null=True, blank=True) page_image = models.CharField( - 'page_image', max_length=256, null=True, blank=True) - url = models.CharField('url', max_length=256, null=True, blank=True) + 'page_image', max_length=512, null=True, blank=True) + url = models.CharField('url', max_length=512, null=True, blank=True) # file file_title = models.CharField( diff --git a/polls/templates/polls/monitor_statistics.html b/polls/templates/polls/monitor_statistics.html index a1d6fb2..f8564a9 100644 --- a/polls/templates/polls/monitor_statistics.html +++ b/polls/templates/polls/monitor_statistics.html @@ -93,7 +93,7 @@ var myChart3 = echarts.init(document.getElementById('chart3')); var option3 = { title: { - text: '政务新媒体省址、市州和县区分布', + text: '政务新媒体省直部门、市州和县区分布', subtextStyle: { fontSize: 16, },