Update the index node template expression field from a 128 char field

to a text field.

Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
This commit is contained in:
Roberto Rosario
2017-05-24 00:59:33 -04:00
parent 30caed211b
commit ce563bfb6a
5 changed files with 99 additions and 2 deletions

View File

@@ -114,8 +114,7 @@ class IndexTemplateNode(MPTTModel):
index = models.ForeignKey(
Index, related_name='node_templates', verbose_name=_('Index')
)
expression = models.CharField(
max_length=128,
expression = models.TextField(
help_text=_(
'Enter a template to render. '
'Use Django\'s default templating language '