Re: Slightly cryptic debug message

2011-05-26 Thread Xavier Ordoquy
> Well for example : > > """ > Exception Type: TemplateSyntaxError > Exception Value: > Caught NameError while rendering: global name 'approved' is not defined > > """ > > I don't understand if it is a NameError why should django say > TemplateSyntax error when exception value it s

Re: Slightly cryptic debug message

2011-05-26 Thread Amit Sethi
Well for example : """ Exception Type: TemplateSyntaxError Exception Value: Caught NameError while rendering: global name 'approved' is not defined """ I don't understand if it is a NameError why should django say TemplateSyntax error when exception value it says it got caught a NameErro

Re: Slightly cryptic debug message

2011-05-26 Thread Xavier Ordoquy
Hi > Hi all , I have a question , On the the new versions of django (after > 1.2) a lot of syntax errors and other errors come as Templatesyntax > errors instead .. . Shouldn't django try to give more compatible debug > message. I haven't found much difference in the error messages. Could you be

Slightly cryptic debug message

2011-05-26 Thread Amit Sethi
Hi all , I have a question , On the the new versions of django (after 1.2) a lot of syntax errors and other errors come as Templatesyntax errors instead .. . Shouldn't django try to give more compatible debug message. -- A-M-I-T S|S -- You received this message because you are subscribed to the