allow to override is_primary result using an argument given to object constructor (have to be given to 'initargs' argument of .render like initargs={'is_primary': False}
Document: cubicweb-doc
Title: CubicWeb documentation
Author: Logilab
Abstract: Some base documentation for CubicWeb users and developpers
Section: Apps/Programming
Format: HTML
Index: /usr/share/doc/cubicweb-documentation/index.html
Files: /usr/share/doc/cubicweb-documentation/*.html