web/__init__.py
changeset 6614 4b9a785df0f7
parent 6106 1e6d93f70d14
child 7990 a673d1d9a738
equal deleted inserted replaced
6613:e7ff604491b2 6614:4b9a785df0f7
    28 
    28 
    29 from cubicweb.web._exceptions import *
    29 from cubicweb.web._exceptions import *
    30 from cubicweb.utils import json_dumps
    30 from cubicweb.utils import json_dumps
    31 from cubicweb.uilib import eid_param
    31 from cubicweb.uilib import eid_param
    32 
    32 
    33 dumps = deprecated('[3.9] use cubicweb.utils.json_dumps instead of dumps')(json_dumps)
    33 assert json_dumps is not None, 'no json module installed'
       
    34 dumps = deprecated('[3.9] use cubicweb.utils.json_dumps instead of dumps')(
       
    35     json_dumps)
    34 
    36 
    35 INTERNAL_FIELD_VALUE = '__cubicweb_internal_field__'
    37 INTERNAL_FIELD_VALUE = '__cubicweb_internal_field__'
    36 
    38 
    37 
    39 
    38 class stdmsgs(object):
    40 class stdmsgs(object):