cubicweb/server/session.py
branch3.24
changeset 11901 afd7657a6d65
parent 11824 d7ecf6dab085
child 11929 fcbd6b251d81
equal deleted inserted replaced
11896:327585fd7670 11901:afd7657a6d65
    41 from cubicweb.server.edition import EditedEntity
    41 from cubicweb.server.edition import EditedEntity
    42 
    42 
    43 
    43 
    44 NO_UNDO_TYPES = schema.SCHEMA_TYPES.copy()
    44 NO_UNDO_TYPES = schema.SCHEMA_TYPES.copy()
    45 NO_UNDO_TYPES.add('CWCache')
    45 NO_UNDO_TYPES.add('CWCache')
       
    46 NO_UNDO_TYPES.add('CWSession')
       
    47 NO_UNDO_TYPES.add('CWDataImport')
    46 # is / is_instance_of are usually added by sql hooks except when using
    48 # is / is_instance_of are usually added by sql hooks except when using
    47 # dataimport.NoHookRQLObjectStore, and we don't want to record them
    49 # dataimport.NoHookRQLObjectStore, and we don't want to record them
    48 # anyway in the later case
    50 # anyway in the later case
    49 NO_UNDO_TYPES.add('is')
    51 NO_UNDO_TYPES.add('is')
    50 NO_UNDO_TYPES.add('is_instance_of')
    52 NO_UNDO_TYPES.add('is_instance_of')