[doc] add missing import for FourOhFour class
authorRabah Meradi <rabah.meradi@logilab.fr>
Wed, 03 Jun 2015 17:19:24 +0200
changeset 10377 6266d018d938
parent 10376 b566c8081832
child 10378 ad0cea3ab218
[doc] add missing import for FourOhFour class
doc/book/en/tutorials/advanced/part04_ui-base.rst
--- a/doc/book/en/tutorials/advanced/part04_ui-base.rst	Wed Jun 03 17:21:05 2015 +0200
+++ b/doc/book/en/tutorials/advanced/part04_ui-base.rst	Wed Jun 03 17:19:24 2015 +0200
@@ -26,6 +26,7 @@
     from cubicweb.predicates import is_instance
     from cubicweb.web import component
     from cubicweb.web.views import error
+    from cubicweb.predicates import anonymous_user
 
     class FourOhFour(error.FourOhFour):
 	__select__ = error.FourOhFour.__select__ & anonymous_user()