We can fix this but.... can't you just leave the first_name and last_name fields alone, as suggested in the book, but make them invisible? readable=False, writable=False. And just change the field used in the navbar as in the example?
On Friday, 28 December 2012 21:12:01 UTC-6, Alec Taylor wrote: > > Thanks, but that still isn't working for me. > > Interesting parts of the traceback: > > <type 'exceptions.AttributeError'>('Row' object has no attribute > 'first_name') > > web2py\gluon\dal.py in __getitem__ at line 6453 code arguments > variables > Function argument list > > (self=<Row {'interests': ['chocolate'], 'registration_...1, > 'name': '', 'email': 'alect...@gmail.com <javascript:>'}>, > key='first_name') > > Maybe there's some way to change the 'key' there? > > On Sat, Dec 29, 2012 at 7:03 AM, Massimo Di Pierro > <massimo....@gmail.com <javascript:>> wrote: > > {{=auth.navbar(user_identifier='%(email)s')}} > --