doc/book/en/development/devweb/views.rst
changeset 4445 ef623f05e5e2
parent 4442 7bc0e4ed4109
child 4446 a413fac5ff5e
equal deleted inserted replaced
4444:fd80a06227b3 4445:ef623f05e5e2
    36 
    36 
    37 At instantiation time, the standard `_cw` and `cw_rset` attributes are
    37 At instantiation time, the standard `_cw` and `cw_rset` attributes are
    38 added and the `w` attribute will be set at rendering time.
    38 added and the `w` attribute will be set at rendering time.
    39 
    39 
    40 A view writes to its output stream thanks to its attribute `w` (an
    40 A view writes to its output stream thanks to its attribute `w` (an
    41 `UStreamIO`).
    41 `UStreamIO`, except for binary views).
    42 
    42 
    43 The basic interface for views is as follows (remember that the result set has a
    43 The basic interface for views is as follows (remember that the result set has a
    44 tabular structure with rows and columns, hence cells):
    44 tabular structure with rows and columns, hence cells):
    45 
    45 
    46 * `render(**context)`, render the view by calling `call` or
    46 * `render(**context)`, render the view by calling `call` or