That fixed that bug. Thanks. Now I can move forward and test the rest.

I will provide more info the next time I run into a problem...

-ian

On 10/15/05, Robert Wittams <[EMAIL PROTECTED]> wrote:
>
> Ian Maurer wrote:
> > I didn't get very far with the new branch. My template is failing to
> > render right off the bat... I haven't had a chance to investigate
> > this, but my templates were/are working just fine under the main
> > branch. Below is the end of my traceback... any thoughts?
> >
> > -ian
> >
> >     return render_to_response('forums/category_display', locals())
> >   File "C:\www\django\core\extensions.py", line 12, in render_to_response
> >     return HttpResponse(template_loader.render_to_string(*args, **kwargs))
> >   File "C:\www\django\core\template_loader.py", line 38, in render_to_string
> >     return t.render(context_instance)
> >   File "C:\www\django\core\template.py", line 122, in render
> >     return self.nodelist.render(context)
> >   File "C:\www\django\core\template.py", line 573, in render
> >     bits.append(node.render(context))
> >   File "C:\www\django\core\template_loader.py", line 98, in render
> >     compiled_parent = self.get_parent(context)
> >   File "C:\www\django\core\template_loader.py", line 93, in get_parent
> >     return get_template_from_string(*find_template_source(parent,
> > self.template_dirs))
> >   File "C:\www\django\core\template_loader.py", line 20, in
> > get_template_from_string
> >     return template.Template(source, filename)
> >   File "C:\www\django\core\template.py", line 113, in __init__
> >     self.nodelist = compile_string(template_string, filename)
> >   File "C:\www\django\core\template.py", line 135, in compile_string
> >     return parser.parse()
> >   File "C:\www\django\core\template.py", line 295, in parse
> >     self.extend_nodelist(nodelist, compile_func(self, token), token)
> >   File "C:\www\django\core\template_loader.py", line 156, in do_extends
> >     nodelist = parser.parse()
> >   File "C:\www\django\core\template.py", line 295, in parse
> >     self.extend_nodelist(nodelist, compile_func(self, token), token)
> >   File "C:\www\django\core\template_loader.py", line 125, in do_block
> >     raise template.TemplateSyntaxError, "'%s' tag takes only one
> > argument" % bits[0]
> > TemplateSyntaxError: 'block' tag takes only one argument
> >
>
> I think this was a stupid (on my part) lexing bug I just fixed. If
> you've got the time, svn up and give it another try. The fix in question
> is in r882.
>
> Rob
>
>

Reply via email to