Update Django template reference URL from Django 1.7 to Django 1.11. Add migratons to update model definitions.

Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
This commit is contained in:
Roberto Rosario
2018-08-23 19:55:30 -04:00
parent 9273eccbd6
commit c6d3ffa28b
8 changed files with 115 additions and 5 deletions

View File

@@ -23,7 +23,7 @@ class SmartLink(models.Model):
blank=True, max_length=96, help_text=_(
'Enter a template to render. '
'Use Django\'s default templating language '
'(https://docs.djangoproject.com/en/1.7/ref/templates/builtins/). '
'(https://docs.djangoproject.com/en/1.11/ref/templates/builtins/). '
'The {{ document }} context variable is available.'
), verbose_name=_('Dynamic label')
)
@@ -122,7 +122,7 @@ class SmartLinkCondition(models.Model):
help_text=_(
'Enter a template to render. '
'Use Django\'s default templating language '
'(https://docs.djangoproject.com/en/1.7/ref/templates/builtins/). '
'(https://docs.djangoproject.com/en/1.11/ref/templates/builtins/). '
'The {{ document }} context variable is available.'
), verbose_name=_('Expression')
)