cubicweb/server/session.py
changeset 12539 10159a3d1d72
parent 12508 a8c1ea390400
child 12542 85194bd49119
equal deleted inserted replaced
12538:114b05d48c44 12539:10159a3d1d72
    36 from cubicweb.rqlrewrite import RQLRewriter
    36 from cubicweb.rqlrewrite import RQLRewriter
    37 from cubicweb.server.edition import EditedEntity
    37 from cubicweb.server.edition import EditedEntity
    38 
    38 
    39 
    39 
    40 NO_UNDO_TYPES = schema.SCHEMA_TYPES.copy()
    40 NO_UNDO_TYPES = schema.SCHEMA_TYPES.copy()
    41 NO_UNDO_TYPES.add('CWCache')
       
    42 NO_UNDO_TYPES.add('CWSession')
    41 NO_UNDO_TYPES.add('CWSession')
    43 NO_UNDO_TYPES.add('CWDataImport')
    42 NO_UNDO_TYPES.add('CWDataImport')
    44 # is / is_instance_of are usually added by sql hooks except when using
    43 # is / is_instance_of are usually added by sql hooks except when using
    45 # dataimport.NoHookRQLObjectStore, and we don't want to record them
    44 # dataimport.NoHookRQLObjectStore, and we don't want to record them
    46 # anyway in the later case
    45 # anyway in the later case