Issac,

You cannot include a space after the | for filters. Try {{ event.code|escape
}}.

BTW: django does auto-escaping and you shouldn't need the escape filter
unless you have turned auto-escaping off. Turning auto-escaping off is
something I personally wouldn't recommend.

On Mon, Jun 8, 2009 at 5:43 PM, Issac Trotts <issac.tro...@gmail.com> wrote:

> Hi folks,
>
>
> I put this in a template file
>
>
> {{ event.code | escape }}
>
>
> and got this result:
>
>
> TemplateSyntaxError: Could not parse the remainder:  | escape
>
> From what I gather, escape is supposed to be built in to Django 0.96
> templates, so it seems like this should work. Have I left something out?
>
> Thanks,
> Issac
>
>
> >
>


-- 
=======================================
株式会社ビープラウド  イアン・ルイス
〒150-0012
東京都渋谷区広尾1-11-2アイオス広尾ビル604
email: ianmle...@beproud.jp
TEL:03-5795-2707
FAX:03-5795-2708
http://www.beproud.jp/
=======================================

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to