But maybe is there a Djula trick to make it re-evaluate the rendered text?
With simple variables like this I can still render var1 differently with a match and replace, even though it is less practical, but as soon as there are conditionals and other template tags, we'll want Djula's machinery.
I have a text variable that uses other variable placeholders:
This var1 is rendered in the template literally, the
contact.phone
variable is not replaced:This is the expected behaviour.
But maybe is there a Djula trick to make it re-evaluate the rendered text?
With simple variables like this I can still render var1 differently with a match and replace, even though it is less practical, but as soon as there are conditionals and other template tags, we'll want Djula's machinery.
thanks
edit: looks totally like I should use templates now… looking into that.