web/views/searchrestriction.py
author Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
Mon, 08 Dec 2008 10:12:32 +0100
changeset 184 92aebc6b533c
parent 16 a70ece4d9d1a
child 1802 d628defebc17
permissions -rw-r--r--
fix interface_selector bug If a view using this selector defines an `accepts` attribute, the view should be selectable only if the entity is of one of the accepted types (+need to consider schema inheritance)

"""contains utility functions and some visual component to restrict results of
a search

:organization: Logilab
:copyright: 2001-2008 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
"""
__docformat__ = "restructuredtext en"

from logilab.common.deprecation import moved

insert_attr_select_relation = moved('cubicweb.web.facet',
                                    'insert_attr_select_relation')