doc/stdlib.txt
author Sylvain Thénault <sylvain.thenault@logilab.fr>
Fri, 18 Nov 2016 18:15:14 +0100
changeset 11858 b2ceb483e056
parent 5767 1d811df051c2
permissions -rw-r--r--
[views/optimization] Makes has_editable_relations predicate less costly by using generator The `has_editable_relations` predicate is used to say if the 'modify' action should appear. To do so, it checks if anything is editable (ie. something in the attributes, relations or inlined section of the automatic form). This may be costly since it may have to check several permissions. To optimize this a bit, this cset turns list into generator so that we'll avoid unnecessary work as soon as we find a match.

addressbook
basket
blog
book
calendar
comment
company
email
file
folder
i18ncontent
keyword
link
mailinglist
person
tag
timeseries
vcsfile