322 __unique_together__ = [('cw_for_source', 'cw_schema')] |
322 __unique_together__ = [('cw_for_source', 'cw_schema')] |
323 cw_for_source = SubjectRelation( |
323 cw_for_source = SubjectRelation( |
324 'CWSource', inlined=True, cardinality='1*', composite='object', |
324 'CWSource', inlined=True, cardinality='1*', composite='object', |
325 __permissions__=RELATION_MANAGERS_PERMISSIONS) |
325 __permissions__=RELATION_MANAGERS_PERMISSIONS) |
326 cw_schema = SubjectRelation( |
326 cw_schema = SubjectRelation( |
327 ('CWEType', 'CWRType', 'CWAttribute', 'CWRelation'), |
327 ('CWEType', 'CWRType', 'CWRelation'), |
328 inlined=True, cardinality='1*', composite='object', |
328 inlined=True, cardinality='1*', composite='object', |
|
329 constraints=[RQLConstraint('NOT O final TRUE')], |
329 __permissions__=RELATION_MANAGERS_PERMISSIONS) |
330 __permissions__=RELATION_MANAGERS_PERMISSIONS) |
330 options = String(description=_('allowed options depends on the source type')) |
331 options = String(description=_('allowed options depends on the source type')) |
331 |
332 |
332 |
333 |
333 # "abtract" relation types, no definition in cubicweb itself ################### |
334 # "abtract" relation types, no definition in cubicweb itself ################### |