If I run this code in the interactive console
from google.appengine.ext import db
str="""class Test2(db.Expando):
dummy=db.IntegerProperty(required=True,indexed=False,default=0)
"""
exec(str)
str1="""t = Test2()
t.hello="world"
t.put()
"""
exec(str1)
All requests to view any model in the datastore returns this error:
Traceback (most recent call last):
File "C:\Program Files\Google\google_appengine\google\appengine\ext
\webapp\__init__.py", line 507, in __call__
handler.get(*groups)
File "C:\Program Files\Google\google_appengine\google\appengine\ext
\admin\__init__.py", line 671, in get
value = DataType.get(raw_value).format(raw_value)
File "C:\Program Files\Google\google_appengine\google\appengine\ext
\admin\__init__.py", line 904, in format
return str(value)
TypeError: 'str' object is not callable
Does anyone know how I can fix it?
Regards,
-Dhruv.
--
You received this message because you are subscribed to the Google Groups
"Google App Engine" 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/google-appengine?hl=en.