On 7/27/06, Luke Plant <[EMAIL PROTECTED]> wrote:
>
> On Thursday 27 July 2006 19:47, Deryck Hodge wrote:
>
> > But how is remembering to do {! var !} any easier than remembering {{
> > var|escape }}? I think that's the issue most people had, that
> > escaping is easy to overlook.
>
> In my proposal, if you do {{ var }} you are covered, so you don't have
> to remember anything. It's if you know that it *shouldn't* be escaped
> that you have to remember to do {! var !}. I guess if it were the
> other way around there wouldn't be much advantage. Of course, if you
> get them mixed up...
>
As I did... :-) But that's my fault for reading too quickly. My appologies.
As Tom said, default auto-escaping is the issue, of which I am one
non-supporter for reasons cited so well by others previously.
cheers,
deryck
--
Deryck Hodge http://www.devurandom.org/
Developer, Naples News http://www.naplesnews.com/
Samba Team http://www.samba.org/
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django developers" 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/django-developers
-~----------~----~----~----~------~----~------~--~---