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
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
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
3 matches
Mail list logo