#11909: Django 'eating up' method errors in templates
-----------------------------+----------------------------------------------
Reporter: wojteks | Owner: nobody
Status: new | Milestone:
Component: Template system | Version: 1.1
Keywords: | Stage: Unreviewed
Has_patch: 0 |
-----------------------------+----------------------------------------------
When I'm working with an object in a template and I do the following:
{{{
{{ some_model.some_method }}
}}}
and if inside that method an AttributeError is thrown for some reason -
that error is hidden by Django completely. I get no error message - even
though I have all the debugging turned on. And then I have to take the
time to guess where the error was and surround the body of some_method
with try/catch and debug it by hand.
--
Ticket URL: <http://code.djangoproject.com/ticket/11909>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---