equal
deleted
inserted
replaced
62 class IntegrityHook(hook.Hook): |
62 class IntegrityHook(hook.Hook): |
63 __abstract__ = True |
63 __abstract__ = True |
64 category = 'integrity' |
64 category = 'integrity' |
65 |
65 |
66 class UserIntegrityHook(IntegrityHook): |
66 class UserIntegrityHook(IntegrityHook): |
67 __select__ = IntegrityHook.__select__ & ~regular_session() |
67 __select__ = IntegrityHook.__select__ & ~hook.regular_session() |
68 |
68 |
69 |
69 |
70 class CheckCardinalityHook(UserIntegrityHook): |
70 class CheckCardinalityHook(UserIntegrityHook): |
71 """check cardinalities are satisfied""" |
71 """check cardinalities are satisfied""" |
72 __regid__ = 'checkcard' |
72 __regid__ = 'checkcard' |