Menu icon Foundation
Foundation for emails with Django

I'm trying to integrate SaaS version in my Python/Django project

Issue:
Django uses common template syntax for variables as Foundation for emails - {{ variable_name }}
So, compiled files don't contain my Django variable {{ variable_name }}, because compiler recognize it like Foundation variable

Does exist some way to escape "{{  }}"?

emailsdjangopython

I'm trying to integrate SaaS version in my Python/Django project

Issue:
Django uses common template syntax for variables as Foundation for emails - {{ variable_name }}
So, compiled files don't contain my Django variable {{ variable_name }}, because compiler recognize it like Foundation variable

Does exist some way to escape "{{  }}"?

Artem Savienkov 10 days ago

I found answer: just add '\' symbol before variable insert

\{{ variable_name }}