Using django: Enable django’s TEMPLATE_STRING_IF_INVALID on a single method on newest questions tagged django – Stack Overflow
I’ve created a view that displays preview of other templates. I want to show the empty tags inside the templates, so I’ve included
TEMPLATE_STRING_IF_INVALID = '%s'
… on my settings.py file. However, I would only like to enable this setting for a particular view, not globally on my app.
Thanks in advance.
See Answers
source: http://stackoverflow.com/questions/11587706/enable-djangos-template-string-if-invalid-on-a-single-method
Using django: using-django
Recent Comments