server/test/data/schema/custom.py
changeset 332 86b8d58664eb
parent 0 b97547f5f1fa
child 341 0a426be2f3a2
--- a/server/test/data/schema/custom.py	Mon Jan 05 22:30:25 2009 +0100
+++ b/server/test/data/schema/custom.py	Tue Jan 06 18:21:03 2009 +0100
@@ -4,3 +4,18 @@
     permissions = {'read': ('managers', 'users', 'guests'),
                    'delete': ('managers',),
                    'add': ('managers',)}
+
+class fiche(RelationType):
+    inlined = True
+    subject = 'Personne'
+    object = 'Card'
+    cardinality = '??'
+
+class multisource_rel(RelationDefinition):
+    subject = ('Card', 'Note')
+    object = 'Note'
+
+
+class see_also(RelationDefinition):
+    subject = ('Bookmark', 'Note')
+    object = ('Bookmark', 'Note')