entity.py
changeset 7293 97505b798975
parent 7246 ecae5b526437
child 7296 e559ade02665
--- a/entity.py	Fri Apr 29 16:34:31 2011 +0200
+++ b/entity.py	Mon May 02 15:06:20 2011 +0200
@@ -918,7 +918,7 @@
             assert role
             self._cw_related_cache.pop('%s_%s' % (rtype, role), None)
 
-    def clear_all_caches(self): # XXX cw_clear_all_caches
+    def cw_clear_all_caches(self):
         """flush all caches on this entity. Further attributes/relations access
         will triggers new database queries to get back values.
 
@@ -991,6 +991,10 @@
 
     # deprecated stuff #########################################################
 
+    @deprecated('[3.13] use entity.cw_clear_all_caches()')
+    def clear_all_caches(self):
+        return self.cw_clear_all_caches()
+
     @deprecated('[3.9] use entity.cw_attr_value(attr)')
     def get_value(self, name):
         return self.cw_attr_value(name)