The problem is in the forms.py in this function:
def attrget(obj, attr, value=None):
if hasattr(obj, 'has_key') and obj.has_key(attr): return obj[attr]
if hasattr(obj, attr): return getattr(obj, attr)
return value
generate this error:
<type 'exceptions.AttributeError'>: 'unicode' object has no attribute
'has_key'
args = ("'unicode' object has no attribute 'has_key'",)
message = "'unicode' object has no attribute 'has_key'"
--
You received this message because you are subscribed to the Google Groups
"web.py" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/webpy?hl=en.