Skip to content
Browse files

Topic Link under Topic JSON

  • Loading branch information...
1 parent 67518fb commit 6cacbc38f89e278b565c5730a8fcc391f286277e @sobtiankit sobtiankit committed Oct 18, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 api/Util.py
View
2 api/Util.py
@@ -23,7 +23,7 @@ def obj_to_dict(obj):
for p in obj.properties():
element = getattr(obj, p)
if isinstance(element, db.Model):
- objDict[p] = unicode(element.key().id())
+ objDict[p] = obj_to_dict(element)
else:
objDict[p] = unicode(element)
#return dict([(p, unicode(getattr(self, p))) for p in self.properties()])

0 comments on commit 6cacbc3

Please sign in to comment.
Something went wrong with that request. Please try again.