Works fine. Just a typo with 'dat' instead of 'dal'. :-)
Thanks! El viernes, 16 de enero de 2015, 22:40:36 (UTC+1), mweissen escribió: > > Same problem. This works both with 2.9.11 and 2.9.12: > > try: > from gluon.dat.objects import Row > except: > from gluon.dal import Row > > Regards, Martin > > 2015-01-16 21:33 GMT+01:00 mcamel <[email protected] <javascript:>>: > >> Hello, >> >> I make extensive use of DAL functionalities (filter in/out, common >> filter, callbacks...) and everything works fine on my apps with 2.9.12beta >> at Ubuntu, except: >> >> from gluon.dal import Row >> ImportError: cannot import name Row >> >> >> I use it to guess if i'm working with a regular Dal Row or with a dict >> returned by db.executesql(..., as_dict=True) using is_instance(..., Row). >> >> Regards!. >> >> -- >> 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] <javascript:>. >> For more options, visit https://groups.google.com/d/optout. >> > > > > -- > Mit freundlichen Grüßen / With kind regards > Martin Weissenböck > Gregor-Mendel-Str. 37, 1190 Wien > Austria / European Union > > -- 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.

