I dunno if this is still relevant to anyone else but the fix for me
was to edit template.py, adding "c." in fron of "filter on line 789 in
the "_do" function of the "render" class
788 if p.endswith('.html') or p.endswith('.xml'):
789 if not c.filter: c.filter = websafe
Original below:
788 if p.endswith('.html') or p.endswith('.xml'):
789 if not c.filter: filter = websafe
On Apr 10, 6:10 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> Thanks for the response.
>
> No I'm not. Will that severely affect performance? Also, do I just set
> like this:
>
> template_dir.template_file.cache = false
>
> Thanks,
>
> -Dougal
>
> On Apr 9, 11:29 pm, "Anand Chitipothu" <[EMAIL PROTECTED]> wrote:
>
> > On Thu, Apr 10, 2008 at 10:55 AM, [EMAIL PROTECTED] <[EMAIL PROTECTED]>
> > wrote:
>
> > > Hi,
>
> > > I had a custom templator filter which I activated by:
>
> > > template_dir.template_file.filter = customfilter
>
> > > I used this fine in 0.22, but I just upgraded to 0.23 and it's stopped
> > > working. Anything jump to mind for anyone? Thanks a lot.
>
> > are you using it with cache=False?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"web.py" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/webpy?hl=en
-~----------~----~----~----~------~----~------~--~---