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


On 10/13/05, Ian Maurer <[EMAIL PROTECTED]> wrote:
> Easy enough. I will let you know if I run into any problems...
>
> thanks again,
> ian
>
> On 10/13/05, Robert Wittams <[EMAIL PROTECTED]> wrote:
> >
> > Ian Maurer wrote:
> > > That's a pretty slick implementation, I'd like to try it out... some 
> > > questions:
> > >
> > > Is it in a usable format?
> > > Are there any directions for pulling this branch down to my local 
> > > environment?
> > > What happens if the main branch gets updated?
> > >
> > >
> > > thanks...
> > > ian
> > >
> > >
> > >
> >
> > Well, I and a few other people are using it.
> >
> > The instructions to check it out are at :
> > http://code.djangoproject.com/wiki/BranchPolicy
> >
> > the branch name is new-admin
> >
> > so basically
> >
> > svn switch http://code.djangoproject.com/svn/django/branches/new-admin/
> >
> > in your checkout of trunk, or
> >
> > svn co http://code.djangoproject.com/svn/django/branches/new-admin/
> >
> > to check it out in another dir.
> >
> > I merge it with trunk pretty often, every couple of days, so it never
> > gets too out of sync. Its probably more unstable than trunk (eg in
> > situations I haven't tested yet).
> >
> >
>

Reply via email to