web/views/management.py
changeset 8190 2a3c1b787688
parent 7808 d90338624ea0
child 8604 7bacc4f21edc
equal deleted inserted replaced
8189:2ee0ef069fa7 8190:2a3c1b787688
     1 # copyright 2003-2011 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
     1 # copyright 2003-2012 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
     2 # contact http://www.logilab.fr/ -- mailto:contact@logilab.fr
     2 # contact http://www.logilab.fr/ -- mailto:contact@logilab.fr
     3 #
     3 #
     4 # This file is part of CubicWeb.
     4 # This file is part of CubicWeb.
     5 #
     5 #
     6 # CubicWeb is free software: you can redistribute it and/or modify it under the
     6 # CubicWeb is free software: you can redistribute it and/or modify it under the
    19 
    19 
    20 __docformat__ = "restructuredtext en"
    20 __docformat__ = "restructuredtext en"
    21 _ = unicode
    21 _ = unicode
    22 
    22 
    23 from logilab.mtconverter import xml_escape
    23 from logilab.mtconverter import xml_escape
       
    24 from logilab.common.registry import yes
    24 
    25 
    25 from cubicweb.selectors import yes, none_rset, match_user_groups, authenticated_user
    26 from cubicweb.predicates import none_rset, match_user_groups, authenticated_user
    26 from cubicweb.view import AnyRsetView, StartupView, EntityView, View
    27 from cubicweb.view import AnyRsetView, StartupView, EntityView, View
    27 from cubicweb.uilib import html_traceback, rest_traceback, exc_message
    28 from cubicweb.uilib import html_traceback, rest_traceback, exc_message
    28 from cubicweb.web import formwidgets as wdgs
    29 from cubicweb.web import formwidgets as wdgs
    29 from cubicweb.web.formfields import guess_field
    30 from cubicweb.web.formfields import guess_field
    30 from cubicweb.web.views.schema import SecurityViewMixIn
    31 from cubicweb.web.views.schema import SecurityViewMixIn