it seems that you have a space on your table. table = SQLFORM.smartgrid(db. OffersCity, constraints=None) should be table = SQLFORM.smartgrid(db.OffersCity, constraints=None)
best regards On Tuesday, May 7, 2013 7:29:49 AM UTC-4, José Manuel López wrote: > > Hi, > Lets say I have this table: > db.define_table('OffersCity', > Field('city', db.City), > Field('offer', db.Offer), > Field('hotel', db.Hotel)) > > I want to create a smartgrid, but it's not working... I don't know why: > Here it's my code: > table = SQLFORM.smartgrid(db. OffersCity, constraints=None) > And this is the error given: > Query Not Supported: invalid filter: __key__ filter value must be a > Key;received > None (a NoneType) > I'm on Google App Engine. > Kind Regards, > Jose M > > > > -- --- 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 web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.