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 __abstract__ = True |
67 __select__ = IntegrityHook.__select__ & ~hook.regular_session() |
68 __select__ = IntegrityHook.__select__ & ~hook.regular_session() |
68 |
69 |
69 |
70 |
70 class CheckCardinalityHook(UserIntegrityHook): |
71 class CheckCardinalityHook(UserIntegrityHook): |
71 """check cardinalities are satisfied""" |
72 """check cardinalities are satisfied""" |