web/views/json.py
changeset 10666 7f6b5f023884
parent 10397 1ce4594f9cf4
child 10700 a6d9d27f4253
equal deleted inserted replaced
10665:79ff784cd8af 10666:7f6b5f023884
    16 # You should have received a copy of the GNU Lesser General Public License along
    16 # You should have received a copy of the GNU Lesser General Public License along
    17 # with CubicWeb.  If not, see <http://www.gnu.org/licenses/>.
    17 # with CubicWeb.  If not, see <http://www.gnu.org/licenses/>.
    18 """json export views"""
    18 """json export views"""
    19 
    19 
    20 __docformat__ = "restructuredtext en"
    20 __docformat__ = "restructuredtext en"
    21 _ = unicode
    21 from cubicweb import _
    22 
    22 
    23 from cubicweb.uilib import rest_traceback
    23 from cubicweb.uilib import rest_traceback
    24 
    24 
    25 from cubicweb.utils import json_dumps
    25 from cubicweb.utils import json_dumps
    26 from cubicweb.predicates import ExpectedValuePredicate, any_rset, empty_rset
    26 from cubicweb.predicates import ExpectedValuePredicate, any_rset, empty_rset