From a4b08ce4b6a98dc3d329352b53b6cc3cd794dd31 Mon Sep 17 00:00:00 2001 From: Thomas NOEL Date: Sun, 10 Jun 2018 21:11:31 +0200 Subject: [PATCH] jsoncell: change template_string name to Display Template (#24403) --- combo/data/migrations/0021_jsoncell.py | 2 +- combo/data/models.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/combo/data/migrations/0021_jsoncell.py b/combo/data/migrations/0021_jsoncell.py index ed0e082..fafd25b 100644 --- a/combo/data/migrations/0021_jsoncell.py +++ b/combo/data/migrations/0021_jsoncell.py @@ -23,7 +23,7 @@ class Migration(migrations.Migration): ('restricted_to_unlogged', models.BooleanField(default=False, verbose_name='Restrict to unlogged users')), ('title', models.CharField(max_length=150, verbose_name='Title', blank=True)), ('url', models.URLField(verbose_name='URL', blank=True)), - ('template_string', models.TextField(null=True, verbose_name='Template', blank=True)), + ('template_string', models.TextField(null=True, verbose_name='Display Template', blank=True)), ('cache_duration', models.PositiveIntegerField(default=60, verbose_name='Cache duration')), ('groups', models.ManyToManyField(to='auth.Group', verbose_name='Groups', blank=True)), ('page', models.ForeignKey(to='data.Page')), diff --git a/combo/data/models.py b/combo/data/models.py index 5f9b0f3..071370c 100644 --- a/combo/data/models.py +++ b/combo/data/models.py @@ -1132,7 +1132,7 @@ class JsonCellBase(CellBase): class JsonCell(JsonCellBase): title = models.CharField(_('Title'), max_length=150, blank=True) url = models.URLField(_('URL'), blank=True) - template_string = models.TextField(_('Template'), blank=True, null=True) + template_string = models.TextField(_('Display Template'), blank=True, null=True) cache_duration = models.PositiveIntegerField( _('Cache duration'), default=60) force_async = models.BooleanField(_('Force asynchronous mode'), -- 2.17.1