﻿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
1421	Enable AttributeError reporting in template rendering	Nebojsa Djordjevic <nesh at studioquattro dot co dot yu>	Adrian Holovaty	"This bugs me a while.

When exception is thrown inside model function not traceback or any indication is given (with DEBUG=True), for example
(m-r):
{{{
#!python
class Foo(models.Model)
    def bar(self):
	raise SomeException()
}}}

will return nothing (None) with *no indication* that error is occurred! Which leads to mysterious errors or missing data
without any indication what is happened.

So I got accustomed to write something like this:

{{{
#!python
class Foo(models.Model)
    def bar(self):
	try:
		raise SomeException()
	except Exception, err:
		return str(err)
}}}
to, at least, get some indication (as a text returned from function) when error is occurred.

Any solutions or plans for this?"	enhancement	closed	Template system		normal	wontfix		nesh@…	Design decision needed	0	0	0	0	0	0
