id,summary,reporter,owner,description,type,status,component,version,severity,resolution,keywords,cc,stage,has_patch,needs_docs,needs_tests,needs_better_patch,easy,ui_ux 11421,Django should not silently ignore AttributeErrors raised in functions called by template,Thomas Steinacher ,nobody,"Consider atemplate {{ obj.some_function }} where obj's some_function exists but raises an AttributeError because of a bug in the function's code. Django silently ignores the error and displays an empty string instead of a traceback, which could save much time when debugging. Probably this beahaviour is because Django returns silently if we call an attribute that does not exist. But ideally it should only fail silently if the function does not exist, not if it raises an AttributeError. Therefore Django should first check using getattr() if the function exists and THEN call it, and not catch AttributeError.",New feature,closed,Template system,dev,Normal,fixed,,mpjung@…,Design decision needed,1,1,0,0,0,0