Re: Templates error on partial rendering

2013-02-18 Thread Pankaj Singh
Hey Andrea, Please have a look at http://stackoverflow.com/questions/4300442/show-undefined-variable-errors-in-templates Put this in your debug settings: class InvalidString(str): def __mod__(self, other): from django.template.base import TemplateSyntaxError raise TemplateSyn

Templates error on partial rendering

2013-02-18 Thread andrea crotti
I have a case where we use django templates, but it really makes no sense to render the templates if a value is not passed in the contentx, and it should just fail.. I don't find anywhere how to force that though, I understand the default of failing silently but there should be a way also to fa