On 2/10/06, Kenneth Gonsalves <[EMAIL PROTECTED]> wrote:
>
> On Friday 10 Feb 2006 2:38 pm, Tobias wrote:
> > TemplateSyntaxError: Caught an exception while rendering.
>
> usualy templatesyntaxerror has nothing to do with templates - there
> may be a syntax error in your model itself - a missing comma or a
> borked __repr__. Did you run 'validate'?
>
many times what I do is modify the template code and write:

except:
    import traceback
    traceback.print_exc()
    raise ...

Because template module swallows the real exception information, only
raise it's own exception.

So I suggest that may be the error infomation can be shown more?


--
I like python!
My Blog: http://www.donews.net/limodou
NewEdit Maillist: http://groups.google.com/group/NewEdit

--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to