sobjects/notification.py
branchstable
changeset 7879 9aae456abab5
parent 6807 7330d1fa02dd
child 8190 2a3c1b787688
--- a/sobjects/notification.py	Tue Sep 27 16:04:30 2011 +0200
+++ b/sobjects/notification.py	Wed Sep 28 09:27:42 2011 +0200
@@ -1,4 +1,4 @@
-# copyright 2003-2010 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+# copyright 2003-2011 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
 # contact http://www.logilab.fr/ -- mailto:contact@logilab.fr
 #
 # This file is part of CubicWeb.
@@ -109,6 +109,8 @@
 
 url: %(url)s
 """
+    # to be defined on concrete sub-classes
+    content_attr = None
 
     def context(self, **kwargs):
         entity = self.cw_rset.get_entity(self.cw_row or 0, self.cw_col or 0)