2012-03-09 71 views

回答

1

您使用google.appengine.ext.db或google.appengine.ext.ndb?

如果您使用的是標準的數據庫模塊應該是

print str(user.key()) 

我想與您的NDB可以用得到它:

print user.key.urlsafe() 
+0

非常感謝:-) – Kulbir 2012-03-10 06:06:44

相關問題