0001-jsoncell-change-template_string-name-to-Display-Temp.patch
combo/data/migrations/0021_jsoncell.py | ||
---|---|---|
23 | 23 |
('restricted_to_unlogged', models.BooleanField(default=False, verbose_name='Restrict to unlogged users')), |
24 | 24 |
('title', models.CharField(max_length=150, verbose_name='Title', blank=True)), |
25 | 25 |
('url', models.URLField(verbose_name='URL', blank=True)), |
26 |
('template_string', models.TextField(null=True, verbose_name='Template', blank=True)), |
|
26 |
('template_string', models.TextField(null=True, verbose_name='Display Template', blank=True)),
|
|
27 | 27 |
('cache_duration', models.PositiveIntegerField(default=60, verbose_name='Cache duration')), |
28 | 28 |
('groups', models.ManyToManyField(to='auth.Group', verbose_name='Groups', blank=True)), |
29 | 29 |
('page', models.ForeignKey(to='data.Page')), |
combo/data/models.py | ||
---|---|---|
1132 | 1132 |
class JsonCell(JsonCellBase): |
1133 | 1133 |
title = models.CharField(_('Title'), max_length=150, blank=True) |
1134 | 1134 |
url = models.URLField(_('URL'), blank=True) |
1135 |
template_string = models.TextField(_('Template'), blank=True, null=True) |
|
1135 |
template_string = models.TextField(_('Display Template'), blank=True, null=True)
|
|
1136 | 1136 |
cache_duration = models.PositiveIntegerField( |
1137 | 1137 |
_('Cache duration'), default=60) |
1138 | 1138 |
force_async = models.BooleanField(_('Force asynchronous mode'), |
1139 |
- |