[Answered ]-Django autoescaping, ignoring autoescape off and |safe


the answer to this is:

Make sure your template_dir in settings.py is pointing to the correct instance, when running multiple versions of your code on one host.


Ah, I just read the docs again. The answer is that having any filters after your safe makes the string unsafe again. So either put safe at the end, or put it at the end again.

Leave a comment