[doc] missing import in code example 3.26
authorLaurent Peuch <cortex@worlddomination.be>
Tue, 26 Feb 2019 16:29:54 +0100
branch3.26
changeset 12480 5d56ccccd45a
parent 12479 26542c8244d3
child 12481 3b2a1f1e99eb
[doc] missing import in code example
doc/tutorials/advanced/part05_ui-advanced.rst
--- a/doc/tutorials/advanced/part05_ui-advanced.rst	Tue Feb 26 16:29:44 2019 +0100
+++ b/doc/tutorials/advanced/part05_ui-advanced.rst	Tue Feb 26 16:29:54 2019 +0100
@@ -62,6 +62,9 @@
 
 .. sourcecode:: python
 
+    from cubicweb.web.views import basetemplates
+
+
     class HTMLPageHeader(basetemplates.HTMLPageHeader):
         # override this since it's the easier way to have our bg image
         # as the first element following <body>