Re: 'dict' object has no attribute 'autoescape'

2009-07-20 Thread 前祁
In the tag code change the return self.nodelist.render(ret) to context.update(ret) return self.nodelist.render(context) On Thu, Apr 24, 2008 at 8:48 AM, James Bennett wrote: > > On Wed, Apr 23, 2008 at 6:59 PM, falcon wrote: > > 94. if

Re: 'dict' object has no attribute 'autoescape'

2008-04-23 Thread James Bennett
On Wed, Apr 23, 2008 at 6:59 PM, falcon <[EMAIL PROTECTED]> wrote: > 94. if (context.autoescape and not isinstance(output, > SafeData)) or isinstance(output, EscapeData): Right there's your problem. you've ended up passing a plain dictionary someplace where Django was expecting you to

'dict' object has no attribute 'autoescape'

2008-04-23 Thread falcon
sense to me. According to google, there is a bug ticket which mentions this error message but I don't understand what it is saying. I get the following error when I try to go to a django based webpage: AttributeError at /report/1/ 'dict' object has no attribute 'autoescape' (/report/1/ is a path I