app/soc/cache/home.py
changeset 2160 3f9dd37d98a8
parent 1600 0aa3de1b2acc
child 2365 a66e1dd8ced7
--- a/app/soc/cache/home.py	Sat Apr 11 22:57:23 2009 +0000
+++ b/app/soc/cache/home.py	Sat Apr 11 22:58:19 2009 +0000
@@ -35,7 +35,7 @@
   """Returns the memcache key for the user's sidebar.
   """
 
-  return 'homepage_for_%s_%s' % (entity.kind(), entity.key().name())
+  return 'homepage_for_%s_%s' % (entity.kind(), entity.key().id_or_name())
 
 
 def get(self, *args, **kwargs):