[doc] missng import for i18n in example
authorLaurent Peuch <cortex@worlddomination.be>
Thu, 21 Feb 2019 18:15:26 +0100
changeset 12387 8b192674fdb6
parent 12386 7c3675442bd5
child 12388 83269385a51d
[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