I'm getting a 
<type 'exceptions.AttributeError'> 'Row' object has no attribute 'username'

error when I try to access the membership table in the db admin screens. 
This is happening on a project that *used* to use username as the login 
field but does not anymore (*username* column is no longer part of the 
auth_user table). Any ideas why this is happening?

Stack trace:

Traceback (most recent call last):
  File 
"/Users/ykessler/dropbox/appgrinders/web2py/sidekick/gluon/restricted.py", line 
212, in restricted
    exec ccode in environment
  File 
"/Users/ykessler/Dropbox/appgrinders/web2py/sidekick/applications/sidekick/views/appadmin.html"
 <http://localhost:8000/admin/default/edit/sidekick/views/appadmin.html>, line 
180, in <module>
    <div class="hidden" id="ram_keys">
  File "/Users/ykessler/dropbox/appgrinders/web2py/sidekick/gluon/sqlhtml.py", 
line 2583, in __init__
    r = A(represent(field, r, record), _href=str(href))
  File "/Users/ykessler/dropbox/appgrinders/web2py/sidekick/gluon/sqlhtml.py", 
line 58, in represent
    return f(value)
  File "/Users/ykessler/dropbox/appgrinders/web2py/sidekick/gluon/dal.py", line 
6298, in repr_ref
    def repr_ref(id, row=None, r=referenced, f=ff): return f(r, id)
  File "/Users/ykessler/dropbox/appgrinders/web2py/sidekick/gluon/dal.py", line 
6271, in ff
    return r._format % row
  File "/Users/ykessler/dropbox/appgrinders/web2py/sidekick/gluon/dal.py", line 
6383, in __getitem__
    return ogetattr(self, key)
AttributeError: 'Row' object has no attribute 'username'

-- 

--- 
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.


Reply via email to