doc/book/devrepo/datamodel/define-workflows.rst
branch3.26
changeset 12469 f5f1db1e6872
parent 11963 64ecd4d96ac7
child 12732 7e6aafa089d2
--- a/doc/book/devrepo/datamodel/define-workflows.rst	Thu Feb 21 18:46:39 2019 +0100
+++ b/doc/book/devrepo/datamodel/define-workflows.rst	Wed Feb 27 13:41:34 2019 +0100
@@ -67,7 +67,8 @@
 
 .. sourcecode:: python
 
-  _ = unicode
+  from cubicweb import _
+
 
   moderators = add_entity('CWGroup', name=u"moderators")