[doc] missing import, cw now require this explicitely
authorLaurent Peuch <cortex@worlddomination.be>
Tue, 26 Feb 2019 16:30:31 +0100
changeset 12417 d0206861996a
parent 12416 30b83cf45dd4
child 12418 3eddb5954135
[doc] missing import, cw now require this explicitely
doc/tutorials/advanced/part05_ui-advanced.rst
--- a/doc/tutorials/advanced/part05_ui-advanced.rst	Tue Feb 26 16:30:12 2019 +0100
+++ b/doc/tutorials/advanced/part05_ui-advanced.rst	Tue Feb 26 16:30:31 2019 +0100
@@ -218,6 +218,7 @@
 
 .. sourcecode:: python
 
+    from cubicweb import _
     from logilab.common.decorators import monkeypatch
     from cubicweb import ValidationError
     from cubicweb.web.views import uicfg, component