[doc] correct import for i18n
authorLaurent Peuch <cortex@worlddomination.be>
Wed, 27 Feb 2019 13:41:34 +0100
changeset 12404 83d7752af56a
parent 12403 d901fc62eb01
child 12405 99e150b6a876
[doc] correct import for i18n
doc/book/devrepo/datamodel/define-workflows.rst
--- 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")