# HG changeset patch # User Laurent Peuch # Date 1551194994 -3600 # Node ID 5d56ccccd45ac51976ebfdbdeaa961e4b94ccdbb # Parent 26542c8244d33519e789bd873ab1fe2dfe7db33d [doc] missing import in code example diff -r 26542c8244d3 -r 5d56ccccd45a 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