Nor would you be able to use { some_text } in the static text of the HTML to display a line of code (e.g. javascript, java, actionscript, etc).
On Jan 10, 8:33 pm, mdipierro <mdipie...@cs.depaul.edu> wrote: > Because you would not be able to use the template to generate JS code. > > On Jan 10, 9:54 pm, Anand Vaidya <anandvaidya...@gmail.com> wrote: > > > > > I was watching Cal Henderson's "Why I hate Django" talk on youtube > > yesterday. One of the issues he raises there is the presence of > > superfluous text in Django such as : > > > {{ some_text }} > > > web2py also uses {{ python_code }} in view files. Why do we need two > > braces? Will just one brace not do the job? > > > Regards > > anand
-- You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web...@googlegroups.com. To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/web2py?hl=en.