[doc] missng import for i18n in example 3.26
authorLaurent Peuch <cortex@worlddomination.be>
Thu, 21 Feb 2019 18:15:26 +0100
branch3.26
changeset 12452 eabea792525e
parent 12451 fd4e287012a9
child 12453 27c09955d869
[doc] missng import for i18n in example
doc/tutorials/advanced/part04_ui-base.rst
--- a/doc/tutorials/advanced/part04_ui-base.rst	Thu Feb 21 18:10:47 2019 +0100
+++ b/doc/tutorials/advanced/part04_ui-base.rst	Thu Feb 21 18:15:26 2019 +0100
@@ -23,6 +23,7 @@
 
 .. sourcecode:: python
 
+    from cubicweb import _
     from cubicweb.web import component
     from cubicweb.web.views import error
     from cubicweb.predicates import anonymous_user