On 5 Kwi, 10:25, Martin Lundberg <martin.lundb...@gmail.com> wrote:

> File "/home/marlun/.virtualenvs/django/lib/python2.6/site-packages/
> django/template/debug.py" in render_node
>   81.             raise wrapped
>
> Exception Type: TemplateSyntaxError at /admin/timetrack/work/
> Exception Value: Caught an exception while rendering: not enough
> arguments for format string

Take a look at Django source:

http://code.djangoproject.com/browser/django/tags/releases/1.1.1/django/template/debug.py#L76

- that 'raise wrapped' line is placed in catch-all handler, which
means that
probably some of your code called during template rendering is
broken,
Django catches it and re-raises as TemplateSyntaxError which,
unfortunately,
is vague about ther real problem.

--
Tomasz Zielinski
http://pyconsultant.eu

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@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.

Reply via email to