equal
deleted
inserted
replaced
26 from logilab.mtconverter import xml_escape |
26 from logilab.mtconverter import xml_escape |
27 from logilab.common.date import todatetime |
27 from logilab.common.date import todatetime |
28 |
28 |
29 from cubicweb.utils import json_dumps, make_uid |
29 from cubicweb.utils import json_dumps, make_uid |
30 from cubicweb.predicates import adaptable |
30 from cubicweb.predicates import adaptable |
31 from cubicweb.view import EntityView, EntityAdapter |
31 from cubicweb.view import EntityView |
|
32 from cubicweb.entity import EntityAdapter |
32 |
33 |
33 # useful constants & functions ################################################ |
34 # useful constants & functions ################################################ |
34 |
35 |
35 ONEDAY = timedelta(1) |
36 ONEDAY = timedelta(1) |
36 |
37 |