Saw a 2.18.2 commit. Was that addressed in thst commit? Thanks!
On Mon, 25 Feb 2019, 06:08 Massimo Di Pierro, <[email protected]> wrote: > Damn you are right. I am releasing 2.18.2 with a fix. > > On Sunday, 24 February 2019 18:31:27 UTC-8, Limedrop wrote: >> >> >> Hi there, >> >> I think the custom template delimiters are broken in 2.18.1. Here's my >> test code and the exception I'm getting: >> >> >> CONTROLLER >> def index(): >> response.delimiters = ('<?', '?>') >> return dict(message=T('Welcome!')) >> >> VIEW - index.html >> {{extend 'layout.html'}} >> <p><? =message ?> Note that each column needs at least {{minCards}} >> cards.</p> >> >> EXCEPTION >> File "\web2py2.18.1\web2py\gluon\restricted.py", line 230, in restricted >> sys.excepthook(etype, evalue, tb) File >> "c:\Users\Playtech\Documents\Development\web2py2.18.1\web2py\applications\app\views\default\index.html", >> line 2, in <module> >> NameError: name 'minCards' is not defined >> >> >> Or have I done something wrong? >> >> Thanks >> >> -- > Resources: > - http://web2py.com > - http://web2py.com/book (Documentation) > - http://github.com/web2py/web2py (Source code) > - https://code.google.com/p/web2py/issues/list (Report Issues) > --- > You received this message because you are subscribed to the Google Groups > "web2py-users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.

