I suppose that the problem is that the "records" list isn't completely returned from the controller file to create.html and that the "thedate" field is lost in that process.
On Jan 16, 9:32 pm, Rick <[email protected]> wrote: > Hmmm... strange... the error disappeared, but it was replaced by > another one: > KeyError: 'thedate' > ...and this error arises from the html-table in the create.html -- the > code works when i delete the table. > > On Jan 16, 8:40 pm, Rick <[email protected]> wrote: > > > > > > > > > Perhaps the previous post was a bit vague. I meant that create.html > > works when it only contains {{=form}}. > > > On Jan 16, 8:35 pm, Rick <[email protected]> wrote: > > > > Yes, {{=form}} works without the other code. > > > > On Jan 16, 6:35 pm, Martín Mulone <[email protected]> wrote: > > > > > to test, put only {{=form}} in create.html remove all the other. Now > > > > the > > > > error continue? > > > > > 2011/1/16 Rick <[email protected]> > > > > > > thanks for the comments. I deleted the #. At the beginning of > > > > > create.html there is this code: > > > > > {{import datetime}} > > > > > {{import uuid}} > > > > > {{recording=datetime.date(2000,01,01)}} > > > > > ...but the error remains :( > > > > > > On Jan 16, 2:13 pm, "Martin.Mulone" <[email protected]> wrote: > > > > > > in create.html > > > > > > > #if recording!=record.thedate:} > > > > > > > you commented this line but you hasn't commented the pass, the same > > > > > > to > > > > > > {{#session.uuid=record.uuid}} > > > > > > and what is recording??. > > > > > -- > > > > Pablo Martín Mulone ([email protected])http://www.tecnodoc.com.ar/ > > > > Paraná, Entre Ríos, Argentina (CP 3100). > > > > > My blog:http://martin.tecnodoc.com.ar > > > > Expert4Solution > > > > Profile:http://www.experts4solutions.com/e4s/default/expert/6

