[doc] missing import in code example
authorLaurent Peuch <cortex@worlddomination.be>
Tue, 26 Feb 2019 16:29:54 +0100
changeset 12415 6c23631b887e
parent 12414 34e89d5e5e51
child 12416 30b83cf45dd4
[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>