doc/book/en/tutorials/advanced/part05_ui-advanced.rst
changeset 8190 2a3c1b787688
parent 7529 2fdc310be7cd
child 8665 e65af61bde7d
equal deleted inserted replaced
8189:2ee0ef069fa7 8190:2a3c1b787688
   188 Boxes present to the user some ways to use the application. Let's first do a few
   188 Boxes present to the user some ways to use the application. Let's first do a few
   189 user interface tweaks in our :file:`views.py` file:
   189 user interface tweaks in our :file:`views.py` file:
   190 
   190 
   191 .. sourcecode:: python
   191 .. sourcecode:: python
   192 
   192 
   193   from cubicweb.selectors import none_rset
   193   from cubicweb.predicates import none_rset
   194   from cubicweb.web.views import bookmark
   194   from cubicweb.web.views import bookmark
   195   from cubes.zone import views as zone
   195   from cubes.zone import views as zone
   196   from cubes.tag import views as tag
   196   from cubes.tag import views as tag
   197 
   197 
   198   # change bookmarks box selector so it's only displayed on startup views
   198   # change bookmarks box selector so it's only displayed on startup views