more bw compat tls-sprint
authorsylvain.thenault@logilab.fr
Thu, 19 Feb 2009 22:59:02 +0100
branchtls-sprint
changeset 870 0b31dbac6459
parent 869 168ad6d424d1
child 871 01eb42259154
more bw compat
common/entity.py
web/views/actions.py
--- a/common/entity.py	Thu Feb 19 22:48:50 2009 +0100
+++ b/common/entity.py	Thu Feb 19 22:59:02 2009 +0100
@@ -1,3 +1,4 @@
 from warnings import warn
 warn('moved to cubicweb.entity', DeprecationWarning, stacklevel=2)
 from cubicweb.entity import *
+from cubicweb.entity import _marker
--- a/web/views/actions.py	Thu Feb 19 22:48:50 2009 +0100
+++ b/web/views/actions.py	Thu Feb 19 22:59:02 2009 +0100
@@ -276,3 +276,8 @@
     
     def url(self):
         return self.build_url(self.id)
+
+
+from logilab.common.deprecation import class_moved
+from cubicweb.web.views.bookmark import FollowAction
+FollowAction = class_moved(FollowAction)