On 06/03/2012, at 12:56 PM, Aryeh Leib Taurog wrote: > Did exception handling in templates change somewhere between Django > 1.2.x and 1.3.x? > > I have a callable which is displayed in a template. Sometimes it > raises AttributeException. Under 1.2.x the callable was treated as an > empty string, but under 1.3.1 this results in a 500 response. This is > a major behavior change, so I'm surprised it doesn't seem to be > documented anywhere. What am I missing? >
As always, the release notes are the place to check if anything has changed between releases. https://docs.djangoproject.com/en/1.3/releases/1.3/#callables-in-templates Yours, Russ Magee %-) -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.